Minor fixes
This commit is contained in:
@@ -61,6 +61,9 @@ class FlashWindow {
|
||||
|
||||
if (stage == null) stage = Lib.current.stage;
|
||||
|
||||
parent.__width = stage.stageWidth;
|
||||
parent.__height = stage.stageHeight;
|
||||
|
||||
stage.align = StageAlign.TOP_LEFT;
|
||||
stage.scaleMode = StageScaleMode.NO_SCALE;
|
||||
|
||||
|
||||
@@ -50,5 +50,13 @@ import lime.utils.Log;
|
||||
|
||||
|
||||
#else
|
||||
typedef GLProgram = Dynamic;
|
||||
@:forward abstract GLProgram(Dynamic) from Dynamic to Dynamic {
|
||||
|
||||
public static function fromSources (gl:Dynamic, vertexSource:String, fragmentSource:String):GLProgram {
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
#end
|
||||
@@ -50,5 +50,13 @@ import lime.utils.Log;
|
||||
|
||||
|
||||
#else
|
||||
typedef GLShader = Dynamic;
|
||||
@:forward abstract GLShader(Dynamic) from Dynamic to Dynamic {
|
||||
|
||||
public static function fromSources (gl:Dynamic, source:String, type:Int):GLShader {
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
#end
|
||||
Reference in New Issue
Block a user