Commit 44ded9cc authored by Brian Paul's avatar Brian Paul

tests/fbo: remove unused err, error vars

parent 525a6ddf
......@@ -155,7 +155,6 @@ run_test(void)
int y0 = PAD;
int y1 = PAD * 2 + SIZE;
int y2 = PAD * 3 + SIZE * 2;
GLenum err;
GLint win_depth_bits, fbo_depth_bits, win_stencil_bits, fbo_stencil_bits;
glViewport(0, 0, piglit_width, piglit_height);
......
......@@ -83,7 +83,7 @@ static void
generate_and_display_drawbuffers(int count)
{
GLuint tex[16], fb, fs, vs, prog;
GLenum attachments[16], status, error;
GLenum attachments[16], status;
char *fs_count_source;
int i;
......
......@@ -80,7 +80,6 @@ piglit_init(int argc, char **argv)
GLuint tex;
GLuint fb;
GLenum status;
GLenum err;
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
......
......@@ -52,7 +52,6 @@ piglit_init(int argc, char **argv)
GLuint tex;
GLuint fb;
GLenum status;
GLenum err;
const float color[] = {1.0,0.0,0.0,1.0};
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
......
......@@ -52,7 +52,6 @@ piglit_init(int argc, char **argv)
GLuint tex;
GLuint fb;
GLenum status;
GLenum err;
const float color[] = {1.0,0.0,0.0,1.0};
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
......
......@@ -51,7 +51,6 @@ piglit_init(int argc, char **argv)
GLuint tex;
GLuint fb;
GLenum status;
GLenum err;
const float color[] = {1.0,0.0,0.0,1.0};
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
......
......@@ -52,7 +52,6 @@ piglit_init(int argc, char **argv)
GLuint tex;
GLuint fb;
GLenum status;
GLenum err;
const float color[] = {1.0,0.0,0.0,1.0};
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
......
......@@ -155,7 +155,6 @@ draw_and_test(const char *destination, int drawable_width, int drawable_height)
int start_x, start_y;
struct probes probes;
GLboolean pass = GL_TRUE;
GLenum error;
memset(&probes, 0, sizeof(probes));
......
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