projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b724dd2
)
vbo: Fix build on windows.
author
Michal Krol
<michal@vmware.com>
Thu, 30 Jul 2009 08:31:57 +0000
(10:31 +0200)
committer
Michal Krol
<michal@vmware.com>
Thu, 30 Jul 2009 08:31:57 +0000
(10:31 +0200)
src/mesa/vbo/vbo_split_inplace.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_split_inplace.c
b/src/mesa/vbo/vbo_split_inplace.c
index 266bc56c8269b3770ddd3c4ccc2c62e0cea14722..9628227e7c46cc021411870bbf62dd99e22c6f15 100644
(file)
--- 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;