diff --git a/src/SDL2.cs b/src/SDL2.cs index 4bdfa15..120a8d0 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -597,9 +597,17 @@ namespace SDL2 SDL_GL_CONTEXT_MINOR_VERSION, SDL_GL_CONTEXT_EGL, SDL_GL_CONTEXT_FLAGS, - SDL_GL_PROFILE_MASK, + SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_SHARE_WITH_CURRENT_CONTEXT } + + [Flags] + public enum SDL_GLprofile + { + SDL_GL_CONTEXT_PROFILE_CORE = 0x0001, + SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = 0x0002, + SDL_GL_CONTEXT_PROFILE_ES = 0x0004 + } public enum SDL_WindowEventID : byte {