From 3790f4e22ed4a941c6b394686855a1866bd3abe8 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 3 Mar 2017 15:10:16 -0800 Subject: [PATCH] Make GL.context public --- lime/graphics/opengl/GL.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lime/graphics/opengl/GL.hx b/lime/graphics/opengl/GL.hx index f38227120..1a44b5da1 100644 --- a/lime/graphics/opengl/GL.hx +++ b/lime/graphics/opengl/GL.hx @@ -367,11 +367,10 @@ class GL { public static inline var UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; public static inline var BROWSER_DEFAULT_WEBGL = 0x9244; + public static var context (default, null):GLRenderContext; public static var type (get, null):GLContextType; public static var version (get, null):Float; - private static var context:GLRenderContext; - private static var __currentProgram:GLProgram;