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)];
|
self = [super initWithFrame:(frame) context:(eagl_context)];
|
||||||
if (self)
|
if (self)
|
||||||
{
|
{
|
||||||
self.drawableDepthFormat = GLKViewDrawableDepthFormat24;
|
self.drawableDepthFormat = GLKViewDrawableDepthFormat16;
|
||||||
self.drawableStencilFormat = GLKViewDrawableStencilFormat8;
|
|
||||||
self.multipleTouchEnabled = YES;
|
self.multipleTouchEnabled = YES;
|
||||||
Device = device;
|
Device = device;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user