rendering.c: only update opengl viewport once it's actually changed
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user