mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 15:40:11 +01:00
progs/tests: Silence fprintf format warning.
This commit is contained in:
parent
b4bc208529
commit
f07e87ffba
1 changed files with 2 additions and 2 deletions
|
|
@ -660,8 +660,8 @@ exercise_CompressedTextures(GLenum dimension)
|
|||
glGetTexLevelParameteriv(dimension, 0, GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB,
|
||||
&queryCompressedSize);
|
||||
if (queryCompressedSize != sizeof(compressedTexture)) {
|
||||
fprintf(stderr, "%s: compressed 3D texture changed size: expected %d, actual %d\n",
|
||||
__FUNCTION__, sizeof(compressedTexture), queryCompressedSize);
|
||||
fprintf(stderr, "%s: compressed 3D texture changed size: expected %lu, actual %d\n",
|
||||
__FUNCTION__, (unsigned long) sizeof(compressedTexture), queryCompressedSize);
|
||||
return GL_FALSE;
|
||||
}
|
||||
(*GetCompressedTexImageARB)(dimension, 0, queryCompressedData);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue