mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 17:28:42 +00:00
egl: implement SDL_GL_EGL_PLATFORM attribute
This implements a new SDL_GL_EGL_PLATFORM attribute to set the "platform" argument for SDL_EGL_LoadLibrary on Windows, macOS, and Linux. I've limited it to those three operating systems because that's what I've been able to test against.
This commit is contained in:
parent
aed980526c
commit
c608cf6222
6 changed files with 19 additions and 6 deletions
|
|
@ -249,7 +249,8 @@ typedef enum
|
|||
SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
|
||||
SDL_GL_CONTEXT_RESET_NOTIFICATION,
|
||||
SDL_GL_CONTEXT_NO_ERROR,
|
||||
SDL_GL_FLOATBUFFERS
|
||||
SDL_GL_FLOATBUFFERS,
|
||||
SDL_GL_EGL_PLATFORM
|
||||
} SDL_GLattr;
|
||||
|
||||
typedef enum
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue