Use 16bit depth format (we don't use stencil in default framebuffer)
This commit is contained in:
parent
48fedb48c7
commit
3e912900fb
@ -192,8 +192,7 @@ namespace irr
|
||||
self = [super initWithFrame:(frame) context:(eagl_context)];
|
||||
if (self)
|
||||
{
|
||||
self.drawableDepthFormat = GLKViewDrawableDepthFormat24;
|
||||
self.drawableStencilFormat = GLKViewDrawableStencilFormat8;
|
||||
self.drawableDepthFormat = GLKViewDrawableDepthFormat16;
|
||||
self.multipleTouchEnabled = YES;
|
||||
Device = device;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user