Unified naming conventions with the native SDL2 library and introduced SDL_GLprofile.

This commit is contained in:
ollipekka 2013-08-03 21:39:08 +03:00
parent 5dd0738ebd
commit 70c4d742c8

View File

@ -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