1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00

Fixed property in CAEAGLLayer in order to allow OpenGL function glReadPixels() to retrieve proper values from frambuffer (IOS6 bug).

git-svn-id: http://xni.googlecode.com/svn/XNI@116 ac433895-eea3-a490-d80a-17149a75e588
This commit is contained in:
Samo Pajk 2012-09-27 12:46:52 +00:00
parent a5e7c0f9ff
commit 7b1889cfec

View File

@ -20,7 +20,7 @@
eaglLayer.opaque = YES;
eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:NO], kEAGLDrawablePropertyRetainedBacking,
[NSNumber numberWithBool:YES], kEAGLDrawablePropertyRetainedBacking,
kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat, nil];
self.multipleTouchEnabled = YES;