opengles: Readd an OpenGL ES 1 renderer to SDL3! (#15185)

This readds the "opengles" renderer, updated from SDL2 to work on SDL3.

Fixes #15661.

Co-authored-by: Ryan C. Gordon <icculus@icculus.org>
Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>
This commit is contained in:
Sylvain Becker 2026-05-26 02:41:13 +02:00 committed by GitHub
parent 548057693c
commit d4236dcd85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1264 additions and 0 deletions

View file

@ -921,6 +921,7 @@ macro(CheckOpenGLES)
if(HAVE_OPENGLES_V1)
set(HAVE_OPENGLES TRUE)
set(SDL_VIDEO_OPENGL_ES 1)
set(SDL_VIDEO_RENDER_OGL_ES 1)
endif()
if(HAVE_OPENGLES_V2)
set(HAVE_OPENGLES TRUE)