mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: move declaration
This commit is contained in:
parent
c828adc3f6
commit
a725a8e27a
1 changed files with 2 additions and 1 deletions
|
|
@ -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);*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue