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 committed 2025-01-15 07:54:45 +03:00
1 parent 8233f31269
commit 449d4d3c32
2 files changed
+116 -95

No files matched your search

+1
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;