Removed log messages (printf and NSLog) gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 15 Aug 2008 00:42:14 +0000
branchgsoc2008_iphone
changeset 2425491958a6c881
parent 2424 ecc18fbfdec3
child 2426 aad0c5ccf6bb
Removed log messages (printf and NSLog)
src/video/uikit/SDL_uikitevents.m
src/video/uikit/SDL_uikitopenglview.m
src/video/uikit/SDL_uikitvideo.m
src/video/uikit/SDL_uikitview.h
src/video/uikit/SDL_uikitview.m
     1.1 --- a/src/video/uikit/SDL_uikitevents.m	Fri Aug 15 00:40:47 2008 +0000
     1.2 +++ b/src/video/uikit/SDL_uikitevents.m	Fri Aug 15 00:42:14 2008 +0000
     1.3 @@ -50,7 +50,7 @@
     1.4  	 
     1.5  	 */	
     1.6  	if (setjmp(*jump_env()) != 0) {
     1.7 -		NSLog(@"Bam! We're back");
     1.8 +		//NSLog(@"Bam! We're back");
     1.9  	}
    1.10  	else {
    1.11  		SInt32 result;
     2.1 --- a/src/video/uikit/SDL_uikitopenglview.m	Fri Aug 15 00:40:47 2008 +0000
     2.2 +++ b/src/video/uikit/SDL_uikitopenglview.m	Fri Aug 15 00:42:14 2008 +0000
     2.3 @@ -119,13 +119,9 @@
     2.4  		}
     2.5  			
     2.6  		if(glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES) != GL_FRAMEBUFFER_COMPLETE_OES) {
     2.7 -			NSLog(@"failed to make complete framebuffer object %x", glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES));
     2.8  			return NO;
     2.9  		}
    2.10  		/* end create buffers */
    2.11 -		
    2.12 -		NSLog(@"Done initializing ...");
    2.13 -		
    2.14  	}
    2.15  	return self;
    2.16  }
    2.17 @@ -137,9 +133,7 @@
    2.18  
    2.19  - (void)swapBuffers {
    2.20  	glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
    2.21 -	if (![context presentRenderbuffer:GL_RENDERBUFFER_OES]) {
    2.22 -		NSLog(@"Could not swap buffers");
    2.23 -	}
    2.24 +	[context presentRenderbuffer:GL_RENDERBUFFER_OES];
    2.25  }
    2.26  
    2.27  
     3.1 --- a/src/video/uikit/SDL_uikitvideo.m	Fri Aug 15 00:40:47 2008 +0000
     3.2 +++ b/src/video/uikit/SDL_uikitvideo.m	Fri Aug 15 00:42:14 2008 +0000
     3.3 @@ -118,8 +118,6 @@
     3.4  UIKit_VideoInit(_THIS)
     3.5  {
     3.6      SDL_DisplayMode mode;
     3.7 -
     3.8 -	printf("UIKit Video init!");
     3.9  		
    3.10  	_this->gl_config.driver_loaded = 1;
    3.11  
     4.1 --- a/src/video/uikit/SDL_uikitview.h	Fri Aug 15 00:40:47 2008 +0000
     4.2 +++ b/src/video/uikit/SDL_uikitview.h	Fri Aug 15 00:42:14 2008 +0000
     4.3 @@ -26,7 +26,11 @@
     4.4  #include "SDL_mouse_c.h"
     4.5  #include "SDL_events.h"
     4.6  
     4.7 -#define MAX_SIMULTANEOUS_TOUCHES 5
     4.8 +#if SDL_IPHONE_MULTIPLE_MICE
     4.9 +	#define MAX_SIMULTANEOUS_TOUCHES 5
    4.10 +#else
    4.11 +	#define MAX_SIMULTANEOUS_TOUCHES 1
    4.12 +#endif
    4.13  
    4.14  @interface SDL_uikitview : UIView<UITextFieldDelegate> {
    4.15  		
     5.1 --- a/src/video/uikit/SDL_uikitview.m	Fri Aug 15 00:40:47 2008 +0000
     5.2 +++ b/src/video/uikit/SDL_uikitview.m	Fri Aug 15 00:42:14 2008 +0000
     5.3 @@ -144,9 +144,7 @@
     5.4  
     5.5  /* UITextFieldDelegate related methods */
     5.6  - (void)initializeKeyboard {
     5.7 -	
     5.8 -	NSLog(@"Text field init");
     5.9 -	
    5.10 +		
    5.11  	textField = [[UITextField alloc] initWithFrame: CGRectZero];
    5.12  	textField.delegate = self;
    5.13  	/* placeholder so there is something to delete! */