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 <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
parent 9847f9da
Pipeline #32768 passed with stage
......@@ -171,8 +171,8 @@ test_format(int width, int height, GLfloat *image, GLenum requested_format)
GLubyte *compressed_image;
GLenum format2;
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