forked from organicmaps/organicmaps
fixes "white screen" bug
This commit is contained in:
parent
0aa0d5ea16
commit
4bcea3c763
1 changed files with 4 additions and 4 deletions
|
@ -41,12 +41,12 @@
|
|||
|
||||
eaglLayer.opaque = YES;
|
||||
|
||||
/// ColorFormat : RGBA8
|
||||
/// Backbuffer : NO
|
||||
/// ColorFormat : RGB565
|
||||
/// Backbuffer : YES, (to prevent from loosing content when mixing with ordinary layers).
|
||||
eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithBool:NO],
|
||||
[NSNumber numberWithBool:YES],
|
||||
kEAGLDrawablePropertyRetainedBacking,
|
||||
kEAGLColorFormatRGBA8,
|
||||
kEAGLColorFormatRGB565,
|
||||
kEAGLDrawablePropertyColorFormat,
|
||||
nil];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue