Ver Fonte

[flash] fix type or Stage3D.requestContext3D

Simon Krajewski há 11 anos atrás
pai
commit
41c0cc8729
1 ficheiros alterados com 1 adições e 1 exclusões
  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 x : 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;
 }