aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/vbo/vbo_exec_array.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-08-05 08:12:52 +0200
committermarha <marha@users.sourceforge.net>2011-08-05 08:12:52 +0200
commitd105412503ea250e07d3cb008f10f60e6e48bf8a (patch)
tree8601f1f1f77b22249cbfdecb20b52aa8bc69bd5a /mesalib/src/mesa/vbo/vbo_exec_array.c
parent9b009a8bdb31d08e3d07f68416373b9aa6f85724 (diff)
downloadvcxsrv-d105412503ea250e07d3cb008f10f60e6e48bf8a.tar.gz
vcxsrv-d105412503ea250e07d3cb008f10f60e6e48bf8a.tar.bz2
vcxsrv-d105412503ea250e07d3cb008f10f60e6e48bf8a.zip
mesa pixman git update 5 aug 2011
Diffstat (limited to 'mesalib/src/mesa/vbo/vbo_exec_array.c')
-rw-r--r--mesalib/src/mesa/vbo/vbo_exec_array.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesalib/src/mesa/vbo/vbo_exec_array.c b/mesalib/src/mesa/vbo/vbo_exec_array.c
index b908d5aea..32ce0e4a8 100644
--- a/mesalib/src/mesa/vbo/vbo_exec_array.c
+++ b/mesalib/src/mesa/vbo/vbo_exec_array.c
@@ -909,11 +909,10 @@ vbo_exec_DrawRangeElementsBaseVertex(GLenum mode,
if (0)
_mesa_print_arrays(ctx);
-#ifdef DEBUG
/* 'end' was out of bounds, but now let's check the actual array
* indexes to see if any of them are out of bounds.
*/
- {
+ if (0) {
GLuint max = _mesa_max_buffer_index(ctx, count, type, indices,
ctx->Array.ElementArrayBufferObj);
if (max >= ctx->Array.ArrayObj->_MaxElement) {
@@ -934,7 +933,6 @@ vbo_exec_DrawRangeElementsBaseVertex(GLenum mode,
* upper bound wrong.
*/
}
-#endif
/* Set 'end' to the max possible legal value */
assert(ctx->Array.ArrayObj->_MaxElement >= 1);