rendering.c: only update opengl viewport once it's actually changed

This commit is contained in:
2024-07-27 17:10:08 +03:00
parent 79bc261ccd
commit f5ba4a75bd
4 changed files with 25 additions and 20 deletions

View File

@ -62,6 +62,8 @@ typedef struct context {
bool debug;
bool is_running;
bool resync_flag;
bool window_size_has_changed;
} t_ctx;
extern t_ctx ctx;