This commit is contained in:
Mylloon 2023-05-03 17:52:34 +02:00
parent 55c9b3f350
commit 2e411441b5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -34,7 +34,7 @@ static void init(void) {
// Font
char *text = " CRÉDITS\n\n"
"Concours API8 — 7 édition\n"
"Concours API8 — 7e édition\n"
"Font: fontesk et fontsquirrel\n"
"Librairies: GL4D, SDL2 et extensions";
char *fontName = "fonts/Instrument.ttf";
@ -96,10 +96,10 @@ static void draw(void) {
gl4duBindMatrix("modview");
gl4duLoadIdentityf();
gl4duTranslatef(0.f, d, -2.f);
gl4duTranslatef(0.f, d - 1.5f, -2.f);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, _textTexId);
gl4duScalef(.5f, .1f, .5f);
gl4duScalef(1.f, .3f, 1.f);
glUseProgram(_pId);
gl4duSendMatrices();