move opengl library loading to a thread that starts as soon as possible and is awaited as late as we can allow

This commit is contained in:
veclavtalica
2025-01-15 07:54:45 +03:00
parent 8233f31269
commit 449d4d3c32
2 changed files with 116 additions and 95 deletions

View File

@ -28,6 +28,7 @@ typedef struct EngineContext {
char **argv;
/* where the app was run from, used as the root for packs */
char *base_dir;
char *title;
Vec2 window_dims;
Rect viewport_rect;