fix font
This commit is contained in:
parent
55c9b3f350
commit
2e411441b5
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue