Commit 6bf8ddb4 authored by Vinson Lee's avatar Vinson Lee

s3tc-errors: Fix GCC unused-variable warning.

s3tc-errors.c: In function ‘test_format’:
s3tc-errors.c:175:9: warning: unused variable ‘format2’ [-Wunused-variable]
  GLenum format2;
         ^~~~~~~

Fixes: d4337924 ("s3tc-errors: port to gles31")
Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 9847f9da
Pipeline #32768 passed with stage
......@@ -171,8 +171,8 @@ test_format(int width, int height, GLfloat *image, GLenum requested_format)
{
#ifdef PIGLIT_USE_OPENGL
GLubyte *compressed_image;
#endif
GLenum format2;
#endif
int x, y, w, h;
GLuint tex;
bool pass = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment