diff options
author | Vinson Lee <vlee@vmware.com> | 2010-07-28 00:01:13 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-07-28 00:01:13 -0700 |
commit | 0afbb5e0f7f3878b39a466bca9a837b207084456 (patch) | |
tree | c793ee0e49570160a24dba5f96b24a445851f570 /tests/bugs | |
parent | bf9da66a8d68f5d9027cb98e51f51b46c1e9c60b (diff) |
bugs: Silence unused parameter warnings.
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/fdo28551.c | 3 | ||||
-rw-r--r-- | tests/bugs/point-sprite.c | 3 | ||||
-rw-r--r-- | tests/bugs/r300-readcache.c | 3 | ||||
-rw-r--r-- | tests/bugs/tex1d-2dborder.c | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs/fdo28551.c b/tests/bugs/fdo28551.c index 70a079aad..f65c44873 100644 --- a/tests/bugs/fdo28551.c +++ b/tests/bugs/fdo28551.c @@ -57,6 +57,9 @@ piglit_display(void) void piglit_init(int argc, char **argv) { + (void) argc; + (void) argv; + piglit_require_extension("GL_ARB_framebuffer_object"); piglit_ortho_projection(1.0, 1.0, GL_FALSE); diff --git a/tests/bugs/point-sprite.c b/tests/bugs/point-sprite.c index 6432fc767..8e3c65be2 100644 --- a/tests/bugs/point-sprite.c +++ b/tests/bugs/point-sprite.c @@ -49,6 +49,9 @@ piglit_init(int argc, char **argv) { GLfloat realMaxSize; + (void) argc; + (void) argv; + piglit_require_extension("GL_ARB_point_sprite"); piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/bugs/r300-readcache.c b/tests/bugs/r300-readcache.c index be415775f..cfc78e3f4 100644 --- a/tests/bugs/r300-readcache.c +++ b/tests/bugs/r300-readcache.c @@ -72,6 +72,9 @@ enum piglit_result piglit_display(void) void piglit_init(int argc, char **argv) { + (void) argc; + (void) argv; + piglit_automatic = GL_TRUE; glViewport(0, 0, piglit_width, piglit_height); diff --git a/tests/bugs/tex1d-2dborder.c b/tests/bugs/tex1d-2dborder.c index b2460f402..035472d78 100644 --- a/tests/bugs/tex1d-2dborder.c +++ b/tests/bugs/tex1d-2dborder.c @@ -103,6 +103,9 @@ piglit_display(void) void piglit_init(int argc, char **argv) { + (void) argc; + (void) argv; + glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_WRAP_S, GL_REPEAT); |