diff src/video/win32/SDL_win32opengl.c @ 3565:f43c8f688f77

Fixed bug #906 Added better error reporting for OpenGL context creation failing.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 15 Dec 2009 08:11:06 +0000
parents 7f684f249ec9
children 7812d3e9564e
line wrap: on
line diff
--- a/src/video/win32/SDL_win32opengl.c	Tue Dec 15 05:34:58 2009 +0000
+++ b/src/video/win32/SDL_win32opengl.c	Tue Dec 15 08:11:06 2009 +0000
@@ -536,7 +536,7 @@
     }
 
     if (!context) {
-        SDL_SetError("Could not create GL context");
+        WIN_SetError("Could not create GL context");
         return NULL;
     }