# HG changeset patch # User Ryan C. Gordon # Date 1126204016 0 # Node ID fe1fa56dcbc69c41694cdc0f430d62ffa22c262f # Parent af8b0f9ac2f4400669c288a5410dee4c15313b1a If couldn't load a needed GL symbol in SDL_SetVideoMode(), report it more specifically. Patch by Anders F Bj�rklund . --ryan. diff -r af8b0f9ac2f4 -r fe1fa56dcbc6 src/video/SDL_video.c --- a/src/video/SDL_video.c Thu Sep 08 07:33:22 2005 +0000 +++ b/src/video/SDL_video.c Thu Sep 08 18:26:56 2005 +0000 @@ -756,7 +756,7 @@ do { \ video->func = SDL_GL_GetProcAddress(#func); \ if ( ! video->func ) { \ - SDL_SetError("Couldn't load GL function: %s\n", #func); \ + SDL_SetError("Couldn't load GL function %s: %s\n", #func, SDL_GetError()); \ return(NULL); \ } \ } while ( 0 );