mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 02:30:12 +01:00
mesa: silence a printf warning
This commit is contained in:
parent
871feeb165
commit
4beea12f17
1 changed files with 2 additions and 2 deletions
|
|
@ -1368,10 +1368,10 @@ print_array(const char *name, GLint index, const struct gl_client_array *array)
|
||||||
printf(" %s[%d]: ", name, index);
|
printf(" %s[%d]: ", name, index);
|
||||||
else
|
else
|
||||||
printf(" %s: ", name);
|
printf(" %s: ", name);
|
||||||
printf("Ptr=%p, Type=0x%x, Size=%d, ElemSize=%u, Stride=%d, Buffer=%u(Size %u), MaxElem=%u\n",
|
printf("Ptr=%p, Type=0x%x, Size=%d, ElemSize=%u, Stride=%d, Buffer=%u(Size %lu), MaxElem=%u\n",
|
||||||
array->Ptr, array->Type, array->Size,
|
array->Ptr, array->Type, array->Size,
|
||||||
array->_ElementSize, array->StrideB,
|
array->_ElementSize, array->StrideB,
|
||||||
array->BufferObj->Name, array->BufferObj->Size,
|
array->BufferObj->Name, (unsigned long) array->BufferObj->Size,
|
||||||
array->_MaxElement);
|
array->_MaxElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue