This commit is contained in:
Théophyl Hoguet committed 2022-03-22 16:00:56 +01:00
1 parent b09951b596
commit 64a9f9993e
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;