- fixed crash during initialization in Cocoa backend

This commit is contained in:
alexey.lysiuk 2020-01-26 16:41:52 +02:00
parent 3b71e8090f
commit 687573d4c5

View file

@ -150,7 +150,7 @@ bool IsInGame()
void CheckNativeMouse() void CheckNativeMouse()
{ {
const bool windowed = (NULL == screen) || !screen->IsFullscreen(); const bool windowed = !vid_fullscreen;
bool wantNative; bool wantNative;
if (windowed) if (windowed)