mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
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:
parent
548057693c
commit
d4236dcd85
7 changed files with 1264 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue