# HG changeset patch # User Holmes Futrell # Date 1218760934 0 # Node ID 491958a6c8811e2cc771d99028120237d903cfbb # Parent ecc18fbfdec3fbe5b03405cc07a6d80e03537a90 Removed log messages (printf and NSLog) diff -r ecc18fbfdec3 -r 491958a6c881 src/video/uikit/SDL_uikitevents.m --- a/src/video/uikit/SDL_uikitevents.m Fri Aug 15 00:40:47 2008 +0000 +++ b/src/video/uikit/SDL_uikitevents.m Fri Aug 15 00:42:14 2008 +0000 @@ -50,7 +50,7 @@ */ if (setjmp(*jump_env()) != 0) { - NSLog(@"Bam! We're back"); + //NSLog(@"Bam! We're back"); } else { SInt32 result; diff -r ecc18fbfdec3 -r 491958a6c881 src/video/uikit/SDL_uikitopenglview.m --- 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]; } diff -r ecc18fbfdec3 -r 491958a6c881 src/video/uikit/SDL_uikitvideo.m --- a/src/video/uikit/SDL_uikitvideo.m Fri Aug 15 00:40:47 2008 +0000 +++ b/src/video/uikit/SDL_uikitvideo.m Fri Aug 15 00:42:14 2008 +0000 @@ -118,8 +118,6 @@ UIKit_VideoInit(_THIS) { SDL_DisplayMode mode; - - printf("UIKit Video init!"); _this->gl_config.driver_loaded = 1; diff -r ecc18fbfdec3 -r 491958a6c881 src/video/uikit/SDL_uikitview.h --- a/src/video/uikit/SDL_uikitview.h Fri Aug 15 00:40:47 2008 +0000 +++ b/src/video/uikit/SDL_uikitview.h Fri Aug 15 00:42:14 2008 +0000 @@ -26,7 +26,11 @@ #include "SDL_mouse_c.h" #include "SDL_events.h" -#define MAX_SIMULTANEOUS_TOUCHES 5 +#if SDL_IPHONE_MULTIPLE_MICE + #define MAX_SIMULTANEOUS_TOUCHES 5 +#else + #define MAX_SIMULTANEOUS_TOUCHES 1 +#endif @interface SDL_uikitview : UIView { diff -r ecc18fbfdec3 -r 491958a6c881 src/video/uikit/SDL_uikitview.m --- a/src/video/uikit/SDL_uikitview.m Fri Aug 15 00:40:47 2008 +0000 +++ b/src/video/uikit/SDL_uikitview.m Fri Aug 15 00:42:14 2008 +0000 @@ -144,9 +144,7 @@ /* UITextFieldDelegate related methods */ - (void)initializeKeyboard { - - NSLog(@"Text field init"); - + textField = [[UITextField alloc] initWithFrame: CGRectZero]; textField.delegate = self; /* placeholder so there is something to delete! */