From c679e2bf9ab901c487eb2ba098eb7b1b7dfeeef8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 3 May 2023 21:12:13 +0200 Subject: [PATCH] rename var --- src/credits.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/credits.c b/src/credits.c index 91e15ef..b0b4330 100644 --- a/src/credits.c +++ b/src/credits.c @@ -1,7 +1,7 @@ #include "../includes/animations.h" static GLuint _pId = 0; -static GLuint _textTexId = 0; +static GLuint _texId = 0; static GLuint _quadId = 0; static void init(void); @@ -40,7 +40,7 @@ static void init(void) { } // Ecrit avec la police sur une texture - if (writeText(&_textTexId, font, + if (writeText(&_texId, font, " CRÉDITS\n\n" "Concours API8 — 7e édition\n" "Font: fontesk et fontsquirrel\n" @@ -75,7 +75,7 @@ static void draw(void) { gl4duTranslatef(0.f, d - 1.5f, -2.f); glActiveTexture(GL_TEXTURE0); - glBindTexture(GL_TEXTURE_2D, _textTexId); + glBindTexture(GL_TEXTURE_2D, _texId); gl4duScalef(1.f, .3f, 1.f); glUseProgram(_pId);