Browse Source

[flash] fix type or Stage3D.requestContext3D

Simon Krajewski 11 years ago
parent
commit
41c0cc8729
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/flash/display/Stage3D.hx

+ 1 - 1
std/flash/display/Stage3D.hx

@@ -5,6 +5,6 @@ package flash.display;
 	var visible : Bool;
 	var visible : Bool;
 	var x : Float;
 	var x : Float;
 	var y : Float;
 	var y : Float;
-	function requestContext3D(?context3DRenderMode : String, ?profile : flash.display3D.Context3DProfile) : Void;
+	function requestContext3D(?context3DRenderMode : flash.display3D.Context3DRenderMode, ?profile : flash.display3D.Context3DProfile) : Void;
 	@:require(flash12) function requestContext3DMatchingProfiles(profiles : flash.Vector<String>) : Void;
 	@:require(flash12) function requestContext3DMatchingProfiles(profiles : flash.Vector<String>) : Void;
 }
 }