diff --git a/framework/Source/iOS/RenderView.swift b/framework/Source/iOS/RenderView.swift index 3bc4f382..c2d59027 100755 --- a/framework/Source/iOS/RenderView.swift +++ b/framework/Source/iOS/RenderView.swift @@ -41,7 +41,7 @@ public class RenderView:UIView, ImageConsumer { let eaglLayer = self.layer as! CAEAGLLayer eaglLayer.isOpaque = true - eaglLayer.drawableProperties = [NSNumber(value:false): kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8: kEAGLDrawablePropertyColorFormat] + eaglLayer.drawableProperties = [kEAGLDrawablePropertyRetainedBacking: NSNumber(value:false), kEAGLDrawablePropertyColorFormat: kEAGLColorFormatRGBA8] } deinit {