include/SDL_video.h
changeset 9412 8b1436ce1028
parent 8946 c9592936dffc
child 9447 728a4bf8e02f
     1.1 --- a/include/SDL_video.h	Fri Mar 20 11:51:03 2015 -0400
     1.2 +++ b/include/SDL_video.h	Fri Mar 06 16:03:40 2015 +0000
     1.3 @@ -189,7 +189,8 @@
     1.4      SDL_GL_CONTEXT_FLAGS,
     1.5      SDL_GL_CONTEXT_PROFILE_MASK,
     1.6      SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
     1.7 -    SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
     1.8 +    SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
     1.9 +    SDL_GL_CONTEXT_RELEASE_BEHAVIOR
    1.10  } SDL_GLattr;
    1.11  
    1.12  typedef enum
    1.13 @@ -207,6 +208,12 @@
    1.14      SDL_GL_CONTEXT_RESET_ISOLATION_FLAG    = 0x0008
    1.15  } SDL_GLcontextFlag;
    1.16  
    1.17 +typedef enum
    1.18 +{
    1.19 +    SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE   = 0x0000,
    1.20 +    SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH  = 0x0001
    1.21 +} SDL_GLcontextReleaseFlag;
    1.22 +
    1.23  
    1.24  /* Function prototypes */
    1.25