2
0
ncannasse 8 жил өмнө
parent
commit
eccfb6f7c9

+ 6 - 0
h3d/scene/Graphics.hx

@@ -180,6 +180,12 @@ class Graphics extends Mesh {
 		}
 		}
 	}
 	}
 
 
+	override function sync(ctx:RenderContext) {
+		super.sync(ctx);
+		flush();
+		bprim.flush();
+	}
+
 	override function draw( ctx : RenderContext ) {
 	override function draw( ctx : RenderContext ) {
 		flush();
 		flush();
 		bprim.flush();
 		bprim.flush();