Skip to content

Commit

Permalink
Fix bug 3081: CMake configuration auto-disables OpenGL ES support on …
Browse files Browse the repository at this point in the history
…Windows.

Thanks to EntranceJew for the patch.
  • Loading branch information
slime73 committed Aug 28, 2015
1 parent d154e6c commit 42f282c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Expand Up @@ -1027,6 +1027,13 @@ elseif(WINDOWS)
set(SDL_VIDEO_RENDER_OGL 1)
set(HAVE_VIDEO_OPENGL TRUE)
endif()

if(VIDEO_OPENGLES)
set(SDL_VIDEO_OPENGL_EGL 1)
set(SDL_VIDEO_OPENGL_ES2 1)
set(SDL_VIDEO_RENDER_OGL_ES2 1)
set(HAVE_VIDEO_OPENGLES TRUE)
endif()
endif()

if(SDL_JOYSTICK)
Expand Down

0 comments on commit 42f282c

Please sign in to comment.