Unified naming conventions with the native SDL2 library and introduced SDL_GLprofile.
This commit is contained in:
parent
5dd0738ebd
commit
70c4d742c8
12
src/SDL2.cs
12
src/SDL2.cs
@ -597,8 +597,16 @@ namespace SDL2
|
||||
SDL_GL_CONTEXT_MINOR_VERSION,
|
||||
SDL_GL_CONTEXT_EGL,
|
||||
SDL_GL_CONTEXT_FLAGS,
|
||||
SDL_GL_PROFILE_MASK,
|
||||
SDL_GL_SHARE_WITH_CURRENT_CONTEXT
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user