include/SDL_video.h
changeset 11332 e3797888c6f1
parent 11171 6f6e8880cd37
child 11346 4d2bf1b340cd
equal deleted inserted replaced
11331:1e231cf0a347 11332:e3797888c6f1
   199     SDL_GL_CONTEXT_EGL,
   199     SDL_GL_CONTEXT_EGL,
   200     SDL_GL_CONTEXT_FLAGS,
   200     SDL_GL_CONTEXT_FLAGS,
   201     SDL_GL_CONTEXT_PROFILE_MASK,
   201     SDL_GL_CONTEXT_PROFILE_MASK,
   202     SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
   202     SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
   203     SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
   203     SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
   204     SDL_GL_CONTEXT_RELEASE_BEHAVIOR
   204     SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
       
   205     SDL_GL_CONTEXT_RESET_NOTIFICATION
   205 } SDL_GLattr;
   206 } SDL_GLattr;
   206 
   207 
   207 typedef enum
   208 typedef enum
   208 {
   209 {
   209     SDL_GL_CONTEXT_PROFILE_CORE           = 0x0001,
   210     SDL_GL_CONTEXT_PROFILE_CORE           = 0x0001,
   222 typedef enum
   223 typedef enum
   223 {
   224 {
   224     SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE   = 0x0000,
   225     SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE   = 0x0000,
   225     SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH  = 0x0001
   226     SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH  = 0x0001
   226 } SDL_GLcontextReleaseFlag;
   227 } SDL_GLcontextReleaseFlag;
       
   228 
       
   229 typedef enum
       
   230 {
       
   231     SDL_GL_CONTEXT_RESET_NO_NOTIFICATION = 0x0000,
       
   232     SDL_GL_CONTEXT_RESET_LOSE_CONTEXT    = 0x0001
       
   233 } SDL_GLContextResetNotification;
   227 
   234 
   228 
   235 
   229 /* Function prototypes */
   236 /* Function prototypes */
   230 
   237 
   231 /**
   238 /**