src/video/uikit/SDL_uikitopenglview.m
changeset 6179 a83eb92704f3
parent 6164 67f122d8284f
child 6267 ed2cf4669e55
--- a/src/video/uikit/SDL_uikitopenglview.m	Sat Jan 07 22:33:58 2012 -0500
+++ b/src/video/uikit/SDL_uikitopenglview.m	Sat Jan 07 22:34:51 2012 -0500
@@ -75,6 +75,7 @@
         }
         if (!context || ![EAGLContext setCurrentContext:context]) {
             [self release];
+            SDL_SetError("OpenGL ES %d not supported", majorVersion);
             return nil;
         }