Mark Sibly 9 роки тому
батько
коміт
feabc11195

+ 2 - 2
modules/emscripten/emscripten.monkey2

@@ -1,10 +1,10 @@
 
+Namespace emscripten
+
 #If __TARGET__="emscripten"
 
 #Import "<emscripten.h>"
 
-Namespace emscripten
-
 Extern
 
 Alias em_callback_func:Void()

+ 2 - 5
modules/mojo/graphics/canvas.monkey2

@@ -1207,12 +1207,10 @@ Class Canvas
 	Field _shadowOps:=New Stack<ShadowOp>
 	Field _shadowVerts:=New Stack<Vec2f>
 	
-	Const MaxVertices:=16384
-	
+	Const MaxVertices:=65536
+	Const MaxShadowVertices:=16384
 	Const MaxLights:=1024
 	
-	Const MaxShadowVertices:=65536
-	
 	Function Init2()
 		Global inited:=False
 		If inited Return
@@ -1309,7 +1307,6 @@ Class Canvas
 	Method AddDrawOp( shader:Shader,material:UniformBlock,blendMode:BlendMode,textureFilter:TextureFilter,primOrder:int,primCount:Int )
 	
 		If _drawVB.Length+primCount*primOrder>_drawVB.Capacity
-			Print "Flush!"
 			Flush()
 		Endif