summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-12-12 20:37:21 +0000
committerAlan Hourihane <[email protected]>2008-12-12 20:37:21 +0000
commita725a8e27a16fc2b38741ad28e43982a55431e0e (patch)
tree85b9b5e3979a6cd5b97f7eb78dcb70c7f65dbf22 /src
parentc828adc3f614f518ba2ce328cad477d31e292290 (diff)
mesa: move declaration
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c
index 887358be623..bac84a4dba9 100644
--- a/src/mesa/state_tracker/st_draw.c
+++ b/src/mesa/state_tracker/st_draw.c
@@ -364,11 +364,12 @@ setup_interleaved_attribs(GLcontext *ctx,
struct gl_buffer_object *bufobj = arrays[mesaAttr]->BufferObj;
struct st_buffer_object *stobj = st_buffer_object(bufobj);
GLsizei stride = arrays[mesaAttr]->StrideB;
- const GLubyte *low, *high;
/*printf("stobj %u = %p\n", attr, (void*)stobj);*/
if (attr == 0) {
+ const GLubyte *low, *high;
+
get_arrays_bounds(vp, arrays, max_index, &low, &high);
/*printf("buffer range: %p %p %d\n", low, high, high-low);*/