comparison src/video/uikit/SDL_uikitopenglview.m @ 2411:ec93e20ff04e gsoc2008_iphone

whitespace
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Tue, 29 Jul 2008 17:37:53 +0000
parents e9a1eed243c9
children 491958a6c881
comparison
equal deleted inserted replaced
2410:3fc556a036d8 2411:ec93e20ff04e
134 [EAGLContext setCurrentContext:context]; 134 [EAGLContext setCurrentContext:context];
135 } 135 }
136 136
137 137
138 - (void)swapBuffers { 138 - (void)swapBuffers {
139
140
141 glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer); 139 glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
142 if (![context presentRenderbuffer:GL_RENDERBUFFER_OES]) { 140 if (![context presentRenderbuffer:GL_RENDERBUFFER_OES]) {
143 NSLog(@"Could not swap buffers"); 141 NSLog(@"Could not swap buffers");
144 } 142 }
145 } 143 }