Make GL.context public

This commit is contained in:
Joshua Granick
2017-03-03 15:10:16 -08:00
parent 1a92bbe709
commit 3790f4e22e

View File

@@ -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;