Removing Print statement effects perf.
This commit is contained in:
parent
372fa5277c
commit
4fa71a6ee0
@ -8445,7 +8445,7 @@ void RasterizerGLES2::canvas_draw_polygon(int p_vertex_count, const int* p_indic
|
|||||||
static uint16_t _draw_poly_indices[_max_draw_poly_indices];
|
static uint16_t _draw_poly_indices[_max_draw_poly_indices];
|
||||||
for (int i=0; i<p_vertex_count; i++) {
|
for (int i=0; i<p_vertex_count; i++) {
|
||||||
_draw_poly_indices[i] = p_indices[i];
|
_draw_poly_indices[i] = p_indices[i];
|
||||||
OS::get_singleton()->print("ind: %d ", p_indices[i]);
|
//OS::get_singleton()->print("ind: %d ", p_indices[i]);
|
||||||
};
|
};
|
||||||
|
|
||||||
//copy the data to GPU.
|
//copy the data to GPU.
|
||||||
|
Loading…
Reference in New Issue
Block a user