diff options
author | Alan Hourihane <[email protected]> | 2008-05-02 10:08:03 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-05-02 10:30:34 +0000 |
commit | 54507125e735ffa595e252282eaabf38095c21e1 (patch) | |
tree | eacd1698108af8b744ddf92ecb06e7cc89a5a66f /src/mesa/state_tracker/st_draw.c | |
parent | a1cb0c2b915532e934b5d37bd0c550b1bfcc77ba (diff) |
Some changed for non-C99 compilers
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 0fe4d198bd8..a3bffbfc95b 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -35,8 +35,8 @@ #include "vbo/vbo.h" -#include "st_atom.h" #include "st_context.h" +#include "st_atom.h" #include "st_cb_bufferobjects.h" #include "st_draw.h" #include "st_program.h" @@ -549,9 +549,10 @@ st_feedback_draw_vbo(GLcontext *ctx, unsigned indexSize; struct gl_buffer_object *bufobj = ib->obj; struct st_buffer_object *stobj = st_buffer_object(bufobj); - index_buffer_handle = stobj->buffer; void *map; + index_buffer_handle = stobj->buffer; + switch (ib->type) { case GL_UNSIGNED_INT: indexSize = 4; |