summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_gs_tmp.h
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2010-06-15 16:09:30 -0400
committerZack Rusin <zackr@vmware.com>2010-06-15 16:10:18 -0400
commit215e10ac2615359065cc264c68f08f39533bafd4 (patch)
treed715b6183f9929726bf76d1a1eabd1073ddfc111 /src/gallium/auxiliary/draw/draw_gs_tmp.h
parent80dfec3e53fd5b5c8c31fb16376c9910258c91b0 (diff)
draw/gs: make sure gs works with elts and doesn't overrun the buffer
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs_tmp.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs_tmp.h1
1 files changed, 1 insertions, 0 deletions
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);