diff options
Diffstat (limited to 'src/mesa/swrast_setup/ss_vbtmp.h')
-rw-r--r-- | src/mesa/swrast_setup/ss_vbtmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_vbtmp.h b/src/mesa/swrast_setup/ss_vbtmp.h index 61956f25cee..d72a6693d65 100644 --- a/src/mesa/swrast_setup/ss_vbtmp.h +++ b/src/mesa/swrast_setup/ss_vbtmp.h @@ -137,7 +137,7 @@ static void TAG(emit)(GLcontext *ctx, GLuint start, GLuint end, } if (IND & INDEX) { - v->index = index[0]; + v->index = (GLuint) index[0]; STRIDE_F(index, index_stride); } |