diff options
author | Zack Rusin <zackr@vmware.com> | 2010-06-15 16:09:30 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2010-06-15 16:10:18 -0400 |
commit | 215e10ac2615359065cc264c68f08f39533bafd4 (patch) | |
tree | d715b6183f9929726bf76d1a1eabd1073ddfc111 /src/gallium/auxiliary/draw/draw_gs_tmp.h | |
parent | 80dfec3e53fd5b5c8c31fb16376c9910258c91b0 (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.h | 1 |
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); |