浏览代码

Removing Print statement effects perf.

V.VamsiKrishna 10 年之前
父节点
当前提交
4fa71a6ee0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gles2/rasterizer_gles2.cpp

+ 1 - 1
drivers/gles2/rasterizer_gles2.cpp

@@ -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];
 		for (int i=0; i<p_vertex_count; 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.