include/SDL_video.h
changeset 11171 6f6e8880cd37
parent 11065 9e8d300d50da
child 11332 e3797888c6f1
     1.1 --- a/include/SDL_video.h	Sun Jul 30 14:36:01 2017 -0400
     1.2 +++ b/include/SDL_video.h	Mon Jul 31 12:57:15 2017 -0700
     1.3 @@ -1111,11 +1111,16 @@
     1.4  
     1.5  /**
     1.6   *  \brief Set an OpenGL window attribute before window creation.
     1.7 + *
     1.8 + *  \return 0 on success, or -1 if the attribute could not be set.
     1.9   */
    1.10  extern DECLSPEC int SDLCALL SDL_GL_SetAttribute(SDL_GLattr attr, int value);
    1.11  
    1.12  /**
    1.13   *  \brief Get the actual value for an attribute from the current context.
    1.14 + *
    1.15 + *  \return 0 on success, or -1 if the attribute could not be retrieved.
    1.16 + *          The integer at \c value will be modified in either case.
    1.17   */
    1.18  extern DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int *value);
    1.19