From 215e10ac2615359065cc264c68f08f39533bafd4 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Tue, 15 Jun 2010 16:09:30 -0400 Subject: draw/gs: make sure gs works with elts and doesn't overrun the buffer --- src/gallium/auxiliary/draw/draw_gs_tmp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/auxiliary/draw/draw_gs_tmp.h') diff --git a/src/gallium/auxiliary/draw/draw_gs_tmp.h b/src/gallium/auxiliary/draw/draw_gs_tmp.h index ded1c6012e..61ca347007 100644 --- a/src/gallium/auxiliary/draw/draw_gs_tmp.h +++ b/src/gallium/auxiliary/draw/draw_gs_tmp.h @@ -11,6 +11,7 @@ static void FUNC( struct draw_geometry_shader *shader, draw->rasterizer->flatshade_first); unsigned i; unsigned count = input_prims->count; + LOCAL_VARS if (0) debug_printf("%s %d\n", __FUNCTION__, count); -- cgit v1.2.3