From ead5d9663f3de7f44f77be3511555dc7248bea64 Mon Sep 17 00:00:00 2001 From: Skye Book Date: Thu, 16 Feb 2017 15:19:13 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20creation=20of=20EAGLContext=E2=80=99s=20d?= =?UTF-8?q?rawableProperties=20dictionary=20in=20RenderView=20(keys=20and?= =?UTF-8?q?=20values=20were=20flipped)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/Source/iOS/RenderView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {