Fixed problem where creating the view passed NULL as the context for setting current context ... needed to actually pass the context.
--- a/src/video/uikit/SDL_uikitopengles.m Mon Aug 18 19:01:05 2008 +0000
+++ b/src/video/uikit/SDL_uikitopengles.m Mon Aug 18 19:39:08 2008 +0000
@@ -116,8 +116,8 @@
/* Don't worry, the window retained the view */
[view release];
- if ( UIKit_GL_MakeCurrent(_this, window, NULL) < 0 ) {
- UIKit_GL_DeleteContext(_this, NULL);
+ if ( UIKit_GL_MakeCurrent(_this, window, view) < 0 ) {
+ UIKit_GL_DeleteContext(_this, view);
return NULL;
}