mirror of https://github.com/godotengine/godot
The translation to larger vertex formats was assuming that batches were rects, and not accounting that the num_commands had a different meaning for lines and polys, so the calculation for number of vertices to translate was incorrect in these cases. Also prevents infinite loop if a single polygon has too many vertices to fit in the batch buffer. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| batch_diagnose.inc | ||
| rasterizer_array.h | ||
| rasterizer_asserts.h | ||
| rasterizer_canvas_batcher.h | ||
| rasterizer_storage_common.h | ||