Add some missing locking in KeyMap.cpp.

Plus minor assert change and java null check.
This commit is contained in:
Henrik Rydgård committed 2023-09-24 12:33:01 +02:00
1 parent 559cc60a66
commit 3264209772
3 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -828,7 +828,7 @@ bool CreateGlobalPipelines();
bool NativeInitGraphics(GraphicsContext *graphicsContext) {
INFO_LOG(SYSTEM, "NativeInitGraphics");
_assert_(g_screenManager);
_assert_msg_(g_screenManager, "No screenmanager, bad init order. Backend = %d", g_Config.iGPUBackend);
// We set this now so any resize during init is processed later.
resized = false;