clang d'enculé
This commit is contained in:
1 parent
e3ad24e630
commit
068a209451
1 file changed
+1
-2
@@ -97,7 +97,7 @@ void render_blended_text(SDL_Renderer* ren, Env* env) {
|
||||
// color of 0 in black wall with error
|
||||
SDL_Color color_r = {255, 50, 50, 255}; /* blue color in RGBA */
|
||||
|
||||
SDL_Color color_b = {0,0,0,255};
|
||||
SDL_Color color_b = {0, 0, 0, 255};
|
||||
|
||||
/*rendu restart*/
|
||||
SDL_Surface* surf = TTF_RenderText_Blended(font, "Restart", color_b);
|
||||
@@ -135,7 +135,6 @@ void render_blended_text(SDL_Renderer* ren, Env* env) {
|
||||
env->text_solve[1] = SDL_CreateTextureFromSurface(ren, surf);
|
||||
SDL_FreeSurface(surf);
|
||||
|
||||
|
||||
/* init zero texture double tab*/
|
||||
// if the case has not error
|
||||
surf = TTF_RenderText_Blended(font, "0", color_w);
|
||||
|
||||
Reference in new issue
Block a user