Add missing line to SDL EGL init (no way this path could have worked anywhere?)

This commit is contained in:
Henrik Rydgård 2019-02-27 11:26:31 +01:00
parent e715fe0382
commit d7f3f15b85

View File

@ -193,6 +193,7 @@ int8_t EGL_Init() {
// Get the SDL window handle
SDL_SysWMinfo sysInfo; //Will hold our Window information
SDL_VERSION(&sysInfo.version); //Set SDL version
SDL_GetWindowWMInfo(window, &sysInfo);
g_Window = (NativeWindowType)sysInfo.info.x11.window;
#else
g_Window = (NativeWindowType)NULL;