include/SDL_video.h
changeset 6393 a773384edf20
parent 6382 64d54101773a
child 6394 9612bcd79130
     1.1 --- a/include/SDL_video.h	Sat Aug 11 10:15:59 2012 -0700
     1.2 +++ b/include/SDL_video.h	Sun Aug 12 11:16:24 2012 -0700
     1.3 @@ -185,13 +185,15 @@
     1.4      SDL_GL_CONTEXT_MINOR_VERSION,
     1.5      SDL_GL_CONTEXT_EGL,
     1.6      SDL_GL_CONTEXT_FLAGS,
     1.7 -    SDL_GL_CONTEXT_PROFILE_MASK
     1.8 +    SDL_GL_CONTEXT_PROFILE_MASK,
     1.9 +    SDL_GL_SHARE_WITH_CURRENT_CONTEXT
    1.10  } SDL_GLattr;
    1.11  
    1.12  typedef enum
    1.13  {
    1.14      SDL_GL_CONTEXT_PROFILE_CORE           = 0x0001,
    1.15      SDL_GL_CONTEXT_PROFILE_COMPATIBILITY  = 0x0002,
    1.16 +    SDL_GL_CONTEXT_PROFILE_ES             = 0x0004,
    1.17      SDL_GL_CONTEXT_PROFILE_ES2            = 0x0004
    1.18  } SDL_GLprofile;
    1.19  
    1.20 @@ -199,7 +201,8 @@
    1.21  {
    1.22      SDL_GL_CONTEXT_DEBUG_FLAG              = 0x0001,
    1.23      SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 0x0002,
    1.24 -    SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG      = 0x0004
    1.25 +    SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG      = 0x0004,
    1.26 +    SDL_GL_CONTEXT_RESET_ISOLATION_FLAG    = 0x0008
    1.27  } SDL_GLcontextFlag;
    1.28  
    1.29