diff src/video/uikit/SDL_uikitopenglview.m @ 2425:491958a6c881 gsoc2008_iphone

Removed log messages (printf and NSLog)
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Fri, 15 Aug 2008 00:42:14 +0000
parents ec93e20ff04e
children d65e44861a15
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitopenglview.m	Fri Aug 15 00:40:47 2008 +0000
+++ b/src/video/uikit/SDL_uikitopenglview.m	Fri Aug 15 00:42:14 2008 +0000
@@ -119,13 +119,9 @@
 		}
 			
 		if(glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES) != GL_FRAMEBUFFER_COMPLETE_OES) {
-			NSLog(@"failed to make complete framebuffer object %x", glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES));
 			return NO;
 		}
 		/* end create buffers */
-		
-		NSLog(@"Done initializing ...");
-		
 	}
 	return self;
 }
@@ -137,9 +133,7 @@
 
 - (void)swapBuffers {
 	glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
-	if (![context presentRenderbuffer:GL_RENDERBUFFER_OES]) {
-		NSLog(@"Could not swap buffers");
-	}
+	[context presentRenderbuffer:GL_RENDERBUFFER_OES];
 }