ncannasse пре 8 година
родитељ
комит
3f047ff0d4
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      hxd/Stage.hx

+ 7 - 0
hxd/Stage.hx

@@ -163,6 +163,13 @@ class Stage {
 			r();
 	}
 
+	public function resize( width : Int, height : Int ) {
+		#if hxsdl
+		var win = @:privateAccess System.win;
+		win.resize(width, height);
+		#end
+	}
+
 	public function setFullScreen( v : Bool ) {
 		#if flash
 		var isAir = flash.system.Capabilities.playerType == "Desktop";