include/SDL_video.h
changeset 3057 089a77aebb7d
parent 3033 4e4f47c5f941
child 3091 32efcc94b3da
     1.1 --- a/include/SDL_video.h	Sun Feb 08 15:35:06 2009 +0000
     1.2 +++ b/include/SDL_video.h	Mon Feb 09 05:32:12 2009 +0000
     1.3 @@ -111,7 +111,8 @@
     1.4      SDL_WINDOW_MAXIMIZED = 0x00000040,          /**< maximized */
     1.5      SDL_WINDOW_INPUT_GRABBED = 0x00000100,      /**< window has grabbed input focus */
     1.6      SDL_WINDOW_INPUT_FOCUS = 0x00000200,        /**< window has input focus */
     1.7 -    SDL_WINDOW_MOUSE_FOCUS = 0x00000400         /**< window has mouse focus */
     1.8 +    SDL_WINDOW_MOUSE_FOCUS = 0x00000400,        /**< window has mouse focus */
     1.9 +    SDL_WINDOW_FOREIGN = 0x00000800             /**< window not created by SDL */
    1.10  } SDL_WindowFlags;
    1.11  
    1.12  /**
    1.13 @@ -1363,6 +1364,7 @@
    1.14   *       your program from the dynamic library using SDL_GL_GetProcAddress().
    1.15   *
    1.16   * \sa SDL_GL_GetProcAddress()
    1.17 + * \sa SDL_GL_UnloadLibrary()
    1.18   */
    1.19  extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path);
    1.20  
    1.21 @@ -1374,6 +1376,15 @@
    1.22  extern DECLSPEC void *SDLCALL SDL_GL_GetProcAddress(const char *proc);
    1.23  
    1.24  /**
    1.25 + * \fn void SDL_GL_UnloadLibrary(void)
    1.26 + *
    1.27 + * \brief Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary()
    1.28 + *
    1.29 + * \sa SDL_GL_LoadLibrary()
    1.30 + */
    1.31 +extern DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void);
    1.32 +
    1.33 +/**
    1.34   * \fn SDL_bool SDL_GL_ExtensionSupported(const char *extension)
    1.35   *
    1.36   * \brief Return true if an OpenGL extension is supported for the current context.