Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed log messages (printf and NSLog)
Browse files Browse the repository at this point in the history
  • Loading branch information
Holmes Futrell committed Aug 15, 2008
1 parent ec6dacf commit a55cce4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/video/uikit/SDL_uikitevents.m
Expand Up @@ -50,7 +50,7 @@ So what we do is that in the UIApplicationDelegate class (SDLUIApplicationDelega
*/
if (setjmp(*jump_env()) != 0) {
NSLog(@"Bam! We're back");
//NSLog(@"Bam! We're back");
}
else {
SInt32 result;
Expand Down
8 changes: 1 addition & 7 deletions src/video/uikit/SDL_uikitopenglview.m
Expand Up @@ -119,13 +119,9 @@ - (id)initWithFrame:(CGRect)frame \
}

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;
}
Expand All @@ -137,9 +133,7 @@ - (void)setCurrentContext {

- (void)swapBuffers {
glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
if (![context presentRenderbuffer:GL_RENDERBUFFER_OES]) {
NSLog(@"Could not swap buffers");
}
[context presentRenderbuffer:GL_RENDERBUFFER_OES];
}


Expand Down
2 changes: 0 additions & 2 deletions src/video/uikit/SDL_uikitvideo.m
Expand Up @@ -118,8 +118,6 @@ static void UIKit_DeleteDevice(SDL_VideoDevice * device)
UIKit_VideoInit(_THIS)
{
SDL_DisplayMode mode;

printf("UIKit Video init!");

_this->gl_config.driver_loaded = 1;

Expand Down
6 changes: 5 additions & 1 deletion src/video/uikit/SDL_uikitview.h
Expand Up @@ -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<UITextFieldDelegate> {

Expand Down
4 changes: 1 addition & 3 deletions src/video/uikit/SDL_uikitview.m
Expand Up @@ -144,9 +144,7 @@ - (BOOL)keyboardVisible {

/* UITextFieldDelegate related methods */
- (void)initializeKeyboard {

NSLog(@"Text field init");


textField = [[UITextField alloc] initWithFrame: CGRectZero];
textField.delegate = self;
/* placeholder so there is something to delete! */
Expand Down

0 comments on commit a55cce4

Please sign in to comment.