Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed log messages (printf and NSLog)

  • Loading branch information
Holmes Futrell committed Aug 15, 2008
1 parent ec6dacf commit a55cce413ff73e880cfe00dd8d2ec0db843ce40e
@@ -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;
@@ -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;
}
@@ -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];
}


@@ -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;

@@ -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> {

@@ -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! */

0 comments on commit a55cce4

Please sign in to comment.