Just add a sanity check in NativeInitGraphics.

This commit is contained in:
Henrik Rydgård 2023-01-02 17:38:38 +01:00
parent a3252078e6
commit 397846c0fc

View File

@ -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;