From 352a5c880bd2cf61ab3e1ade27d332c415bb9086 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 8 Sep 2005 18:26:56 +0000 Subject: [PATCH] =?UTF-8?q?If=20couldn't=20load=20a=20needed=20GL=20symbol?= =?UTF-8?q?=20in=20SDL=5FSetVideoMode(),=20report=20it=20more=20=20specifi?= =?UTF-8?q?cally.=20Patch=20by=20Anders=20F=20Bj=EF=BF=BDrklund=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --ryan. --- src/video/SDL_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index f83ae00f7..084b2451a 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -756,7 +756,7 @@ SDL_Surface * SDL_SetVideoMode (int width, int height, int bpp, Uint32 flags) 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 );