Merge branch 'main' of gitlab.emi.u-bordeaux.fr:pt2/teams-s4/tm07/lightup-07c

This commit is contained in:
valentin carmona committed 2022-03-22 17:13:40 +01:00
commit 73cddbd6b7
1 file changed
+1
+1
View File
@@ -387,6 +387,7 @@ void render(SDL_Window* win, SDL_Renderer* ren, Env* env) {
env->rec_game->y = rec.y;
env->rec_game->h = size_rec * game_nb_rows(env->g);
env->rec_game->w = size_rec * game_nb_cols(env->g);
// buttons
SDL_Rect buttons;
buttons.w = w / 5;
buttons.h = h / 10 / 1.5;