Skip to content

Commit a6140d8

Browse files
committed
changed the maximum amount of vertices for shape batch
1 parent 3826eb7 commit a6140d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • v3/src/renderer/webgl/batches/shape

v3/src/renderer/webgl/batches/shape/const.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var CONST = {
99
SHAPE_VERTEX_COMPONENT_COUNT: 9,
1010

1111
// Can't be bigger than 10,000 since index are 16-bit
12-
MAX_VERTICES: 10000,
12+
MAX_VERTICES: 1000000,
1313

1414
VERTEX_SHADER_SOURCE: VertexShader,
1515
FRAGMENT_SHADER_SOURCE: FragmentShader

0 commit comments

Comments
 (0)