We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4684

Summary: GLES1 variables missing under Android with CMake
Product: SDL Reporter: Braden Obrzut <admin>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.9   
Hardware: All   
OS: Android (All)   

Description Braden Obrzut 2019-06-22 00:57:19 UTC
https://hg.libsdl.org/SDL/file/9d3f245739f8/CMakeLists.txt#l911

I believe the following should also be specified there:

set(SDL_VIDEO_OPENGL_ES 1)
set(SDL_VIDEO_RENDER_OGL_ES 1)

As it is now GLES1 support is missing when building for Android despite it linking to the library.
Comment 1 Sam Lantinga 2019-06-22 05:01:43 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/5cbf6472a916