From 397846c0fc755c88b2fb3c31b1ec18e13e04d553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 2 Jan 2023 17:38:38 +0100 Subject: [PATCH] Just add a sanity check in NativeInitGraphics. --- UI/NativeApp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 1ba3abe397..70230f7e0b 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -870,6 +870,8 @@ bool CreateGlobalPipelines(); bool NativeInitGraphics(GraphicsContext *graphicsContext) { INFO_LOG(SYSTEM, "NativeInitGraphics"); + _assert_(screenManager); + // We set this now so any resize during init is processed later. resized = false;