# HG changeset patch # User Sam Lantinga # Date 1141917075 0 # Node ID 8f3e602904d1c3a17be54224a64bee3b294366cc # Parent 765f7461650afa2af162c60024790ecde54f4e7b Dynamic OpenGL loading is the default now. :) diff -r 765f7461650a -r 8f3e602904d1 include/SDL_video.h --- a/include/SDL_video.h Thu Mar 09 13:34:58 2006 +0000 +++ b/include/SDL_video.h Thu Mar 09 15:11:15 2006 +0000 @@ -772,19 +772,15 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* - * Dynamically load a GL driver, if SDL is built with dynamic GL. + * Dynamically load an OpenGL library, or the default one if path is NULL * - * SDL links normally with the OpenGL library on your system by default, - * but you can compile it to dynamically load the GL driver at runtime. * If you do this, you need to retrieve all of the GL functions used in * your program from the dynamic library using SDL_GL_GetProcAddress(). - * - * This is disabled in default builds of SDL. */ extern DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path); /* - * Get the address of a GL function (for extension functions) + * Get the address of a GL function */ extern DECLSPEC void * SDLCALL SDL_GL_GetProcAddress(const char* proc);