diff --git a/iphone/Maps/Classes/EAGLView.mm b/iphone/Maps/Classes/EAGLView.mm index 6087e09233..8aee021e51 100644 --- a/iphone/Maps/Classes/EAGLView.mm +++ b/iphone/Maps/Classes/EAGLView.mm @@ -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];