Commit 63918281 authored by Sam Lantinga's avatar Sam Lantinga

Fixed spacing

parent b13cdc5d
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
aBits:(int)aBits \ aBits:(int)aBits \
depthBits:(int)depthBits \ depthBits:(int)depthBits \
{ {
NSString *colorFormat=nil; NSString *colorFormat=nil;
GLuint depthBufferFormat; GLuint depthBufferFormat;
BOOL useDepthBuffer; BOOL useDepthBuffer;
...@@ -137,7 +136,6 @@ ...@@ -137,7 +136,6 @@
} }
- (void)destroyFramebuffer { - (void)destroyFramebuffer {
glDeleteFramebuffersOES(1, &viewFramebuffer); glDeleteFramebuffersOES(1, &viewFramebuffer);
viewFramebuffer = 0; viewFramebuffer = 0;
glDeleteRenderbuffersOES(1, &viewRenderbuffer); glDeleteRenderbuffersOES(1, &viewRenderbuffer);
...@@ -151,14 +149,12 @@ ...@@ -151,14 +149,12 @@
- (void)dealloc { - (void)dealloc {
[self destroyFramebuffer]; [self destroyFramebuffer];
if ([EAGLContext currentContext] == context) { if ([EAGLContext currentContext] == context) {
[EAGLContext setCurrentContext:nil]; [EAGLContext setCurrentContext:nil];
} }
[context release]; [context release];
[super dealloc]; [super dealloc];
} }
@end @end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment