Skip to content

Commit

Permalink
Add missing line to SDL EGL init (no way this path could have worked …
Browse files Browse the repository at this point in the history
…anywhere?)
  • Loading branch information
hrydgard committed Feb 27, 2019
1 parent e715fe0 commit d7f3f15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SDL/SDLGLGraphicsContext.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit d7f3f15

Please sign in to comment.