Commit ffb0c22d authored by Vinson Lee's avatar Vinson Lee

bugs: Silence unused parameter warnings.

parent 4f096b96
......@@ -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!
*/
......
......@@ -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);
}
......
......@@ -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);
......
......@@ -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);
......
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