Browse Source

Fix overflow of drawTriangles.

borisrp 1 month ago
parent
commit
c2105246b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/Engine.hx

+ 1 - 1
h3d/Engine.hx

@@ -39,7 +39,7 @@ class Engine {
 	public var height(default, null) : Int;
 	public var height(default, null) : Int;
 	public var debug(default, set) : Bool;
 	public var debug(default, set) : Bool;
 
 
-	public var drawTriangles(default, null) : Int;
+	public var drawTriangles(default, null) : Float;
 	public var drawCalls(default, null) : Int;
 	public var drawCalls(default, null) : Int;
 	public var dispatches(default, null) : Int;
 	public var dispatches(default, null) : Int;
 	public var shaderSwitches(default, null) : Int;
 	public var shaderSwitches(default, null) : Int;