Docs fix
This commit is contained in:
@@ -330,6 +330,10 @@ extern class GLRenderContext {
|
|||||||
var drawingBufferWidth (default, null):Int;
|
var drawingBufferWidth (default, null):Int;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
#if (!js || !html5)
|
||||||
|
function new();
|
||||||
|
#end
|
||||||
|
|
||||||
function activeTexture (texture:Int):Void;
|
function activeTexture (texture:Int):Void;
|
||||||
function attachShader (program:GLProgram, shader:GLShader):Void;
|
function attachShader (program:GLProgram, shader:GLShader):Void;
|
||||||
function bindAttribLocation (program:GLProgram, index:Int, name:String):Void;
|
function bindAttribLocation (program:GLProgram, index:Int, name:String):Void;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import lime.graphics.GLRenderContext;
|
|||||||
|
|
||||||
enum RenderContext {
|
enum RenderContext {
|
||||||
|
|
||||||
OPENGL (gl:#if (!flash || display) GLRenderContext #else Dynamic #end);
|
OPENGL (gl:GLRenderContext);
|
||||||
CANVAS (context:CanvasRenderContext);
|
CANVAS (context:CanvasRenderContext);
|
||||||
DOM (element:DOMRenderContext);
|
DOM (element:DOMRenderContext);
|
||||||
FLASH (stage:FlashRenderContext);
|
FLASH (stage:FlashRenderContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user