Skip to content

Commit 3e91290

Browse files
committed
Use 16bit depth format (we don't use stencil in default framebuffer)
1 parent 48fedb4 commit 3e91290

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/irrlicht/source/Irrlicht/CIrrDeviceiOS.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ - (id)initWithFrame:(CGRect)frame forDevice:(irr::CIrrDeviceiOS*)device forConte
192192
self = [super initWithFrame:(frame) context:(eagl_context)];
193193
if (self)
194194
{
195-
self.drawableDepthFormat = GLKViewDrawableDepthFormat24;
196-
self.drawableStencilFormat = GLKViewDrawableStencilFormat8;
195+
self.drawableDepthFormat = GLKViewDrawableDepthFormat16;
197196
self.multipleTouchEnabled = YES;
198197
Device = device;
199198
}

0 commit comments

Comments
 (0)