Skip to content

Commit

Permalink
Fixed pointer from integer warning and bug if compiled without EGL.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Dec 25, 2013
1 parent b2faf3f commit 87ad7a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/video/windows/SDL_windowsopengl.c
Expand Up @@ -604,8 +604,9 @@ WIN_GL_CreateContext(_THIS, SDL_Window * window)

return WIN_GLES_CreateContext(_this, window);
#else
return SDL_SetError("SDL not configured with EGL support");
#endif
SDL_SetError("SDL not configured with EGL support");
return NULL;
#endif
}

if (_this->gl_config.share_with_current_context) {
Expand Down

0 comments on commit 87ad7a1

Please sign in to comment.