From 0e7d7d3051d125621b2b79c11f577fc3a3cc7b2c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 30 Jul 2010 23:44:16 +0800 Subject: [PATCH] util: Fix the range of util_draw_elements_instanced. Keep min_index and max_index at their defaults (0 and ~0). --- src/gallium/auxiliary/util/u_draw.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_draw.h b/src/gallium/auxiliary/util/u_draw.h index b901f970089..2a91ea0f9ae 100644 --- a/src/gallium/auxiliary/util/u_draw.h +++ b/src/gallium/auxiliary/util/u_draw.h @@ -110,8 +110,6 @@ util_draw_elements_instanced(struct pipe_context *pipe, info.index_bias = index_bias; info.start_instance = start_instance; info.instance_count = instance_count; - info.min_index = start; - info.max_index = start + count - 1; pipe->draw_vbo(pipe, &info); } -- 2.30.2