Mercurial > sdl-ios-xcode
diff src/video/uikit/SDL_uikitopenglview.m @ 2445:d65e44861a15 gsoc2008_iphone
added comment
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Sat, 16 Aug 2008 00:09:10 +0000 |
parents | 491958a6c881 |
children |
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitopenglview.m Sat Aug 16 00:08:10 2008 +0000 +++ b/src/video/uikit/SDL_uikitopenglview.m Sat Aug 16 00:09:10 2008 +0000 @@ -24,7 +24,6 @@ #import <OpenGLES/EAGLDrawable.h> #import "SDL_uikitopenglview.h" -// A class extension to declare private methods @interface SDL_uikitopenglview (privateMethods) - (BOOL) createFramebuffer; @@ -36,15 +35,11 @@ @implementation SDL_uikitopenglview @synthesize context; -// You must implement this + + (Class)layerClass { return [CAEAGLLayer class]; } -/* - stencilBits ignored. - Right now iPhone stencil buffer doesn't appear supported. Maybe it will be in the future ... who knows. -*/ - (id)initWithFrame:(CGRect)frame \ retainBacking:(BOOL)retained \ rBits:(int)rBits \