diff options
author | Vinson Lee <vlee@vmware.com> | 2010-07-27 01:09:05 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-07-27 01:09:05 -0700 |
commit | ffb0c22d3152af7ecde71fee0644f56fd192532f (patch) | |
tree | 60cd4f9bc25d440282edd085223712d6dd6b74c1 | |
parent | 4f096b96333dd0318f1c8c1f940e4c65255dec19 (diff) |
bugs: Silence unused parameter warnings.
-rw-r--r-- | tests/bugs/fdo23670-depth_test.c | 3 | ||||
-rw-r--r-- | tests/bugs/fdo23670-drawpix_stencil.c | 3 | ||||
-rw-r--r-- | tests/bugs/fdo24066.c | 3 | ||||
-rw-r--r-- | tests/bugs/fdo25614-genmipmap.c | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs/fdo23670-depth_test.c b/tests/bugs/fdo23670-depth_test.c index 63033f16..6625e2a0 100644 --- a/tests/bugs/fdo23670-depth_test.c +++ b/tests/bugs/fdo23670-depth_test.c @@ -33,6 +33,9 @@ int piglit_window_mode = GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH | GLUT_STENCIL; void piglit_init(int argc, char **argv) { + (void) argc; + (void) argv; + /* Don't use piglit_ortho_projection! This uses a non-default * depth range! */ diff --git a/tests/bugs/fdo23670-drawpix_stencil.c b/tests/bugs/fdo23670-drawpix_stencil.c index cb92afc9..031886fa 100644 --- a/tests/bugs/fdo23670-drawpix_stencil.c +++ b/tests/bugs/fdo23670-drawpix_stencil.c @@ -33,6 +33,9 @@ int piglit_window_mode = GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH | GLUT_STENCIL; void piglit_init(int argc, char **argv) { + (void) argc; + (void) argv; + piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); } diff --git a/tests/bugs/fdo24066.c b/tests/bugs/fdo24066.c index 19908333..32e2fc9a 100644 --- a/tests/bugs/fdo24066.c +++ b/tests/bugs/fdo24066.c @@ -56,6 +56,9 @@ void piglit_init(int argc, char ** argv) GLuint program_object; GLint result; + (void) argc; + (void) argv; + piglit_require_vertex_program(); program_object = piglit_compile_program(GL_VERTEX_PROGRAM_ARB, program_text); diff --git a/tests/bugs/fdo25614-genmipmap.c b/tests/bugs/fdo25614-genmipmap.c index c5467c48..06deb361 100644 --- a/tests/bugs/fdo25614-genmipmap.c +++ b/tests/bugs/fdo25614-genmipmap.c @@ -57,6 +57,9 @@ piglit_init(int argc, char **argv) { GLint alpha_bits; + (void) argc; + (void) argv; + if (!GLEW_VERSION_1_3) { printf("Requires OpenGL 1.3\n"); piglit_report_result(PIGLIT_SKIP); |