From d7f3f15b85821000e92817e04090d0e9cdbf9dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 27 Feb 2019 11:26:31 +0100 Subject: [PATCH] Add missing line to SDL EGL init (no way this path could have worked anywhere?) --- SDL/SDLGLGraphicsContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SDL/SDLGLGraphicsContext.cpp b/SDL/SDLGLGraphicsContext.cpp index 1bd6667233b5..1f3269a4df81 100644 --- a/SDL/SDLGLGraphicsContext.cpp +++ b/SDL/SDLGLGraphicsContext.cpp @@ -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;