Dynamic OpenGL loading is the default now. :)
authorSam Lantinga <slouken@libsdl.org>
Thu, 09 Mar 2006 15:11:15 +0000
changeset 14908f3e602904d1
parent 1489 765f7461650a
child 1491 cf23b92602aa
Dynamic OpenGL loading is the default now. :)
include/SDL_video.h
     1.1 --- a/include/SDL_video.h	Thu Mar 09 13:34:58 2006 +0000
     1.2 +++ b/include/SDL_video.h	Thu Mar 09 15:11:15 2006 +0000
     1.3 @@ -772,19 +772,15 @@
     1.4  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
     1.5  
     1.6  /*
     1.7 - * Dynamically load a GL driver, if SDL is built with dynamic GL.
     1.8 + * Dynamically load an OpenGL library, or the default one if path is NULL
     1.9   *
    1.10 - * SDL links normally with the OpenGL library on your system by default,
    1.11 - * but you can compile it to dynamically load the GL driver at runtime.
    1.12   * If you do this, you need to retrieve all of the GL functions used in
    1.13   * your program from the dynamic library using SDL_GL_GetProcAddress().
    1.14 - *
    1.15 - * This is disabled in default builds of SDL.
    1.16   */
    1.17  extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path);
    1.18  
    1.19  /*
    1.20 - * Get the address of a GL function (for extension functions)
    1.21 + * Get the address of a GL function
    1.22   */
    1.23  extern DECLSPEC void * SDLCALL SDL_GL_GetProcAddress(const char* proc);
    1.24