summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_split_inplace.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-07-30 10:31:57 +0200
committerMichal Krol <[email protected]>2009-07-30 10:31:57 +0200
commit1e9d3ad4e1d987e1130e4bcd2ffc35f0e18064c3 (patch)
tree9a988a98b3fff848545f147375b00101f8c80f95 /src/mesa/vbo/vbo_split_inplace.c
parentb724dd28e24ec1c38af1082f5e16cd9a12d1653d (diff)
vbo: Fix build on windows.
Diffstat (limited to 'src/mesa/vbo/vbo_split_inplace.c')
-rw-r--r--src/mesa/vbo/vbo_split_inplace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_split_inplace.c b/src/mesa/vbo/vbo_split_inplace.c
index 266bc56c826..9628227e7c4 100644
--- a/src/mesa/vbo/vbo_split_inplace.c
+++ b/src/mesa/vbo/vbo_split_inplace.c
@@ -59,11 +59,11 @@ struct split_context {
static void flush_vertex( struct split_context *split )
{
GLuint min_index, max_index;
+ GLuint i;
if (!split->dstprim_nr)
return;
- GLuint i;
min_index = split->dstprim[0].start;
max_index = min_index + split->dstprim[0].count - 1;