summaryrefslogtreecommitdiff
path: root/tests/texturing/depth-tex-modes-common.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-11-20 14:30:15 -0800
committerIan Romanick <ian.d.romanick@intel.com>2009-11-20 14:30:15 -0800
commit1c1f588d5bd1931b83e9526c2c09389b12e4a5a4 (patch)
tree17a734f0bb5875dda2ed4439e3f92e61e9c68d86 /tests/texturing/depth-tex-modes-common.c
parent187a583e94bca2bb8ec60fc7b489992c959adfc4 (diff)
depth-tex-modes: Add header file for inteface between test files
Diffstat (limited to 'tests/texturing/depth-tex-modes-common.c')
-rw-r--r--tests/texturing/depth-tex-modes-common.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/texturing/depth-tex-modes-common.c b/tests/texturing/depth-tex-modes-common.c
index 735b34eff..781f4fc3e 100644
--- a/tests/texturing/depth-tex-modes-common.c
+++ b/tests/texturing/depth-tex-modes-common.c
@@ -30,17 +30,13 @@
*/
#include "piglit-util.h"
-
-extern GLuint tex[2];
+#include "depth-tex-modes-common.h"
static void loadTex(void);
void
-depth_tex_init(int argc, char **argv)
+depth_tex_init(void)
{
- (void) argc;
- (void) argv;
-
piglit_require_extension("GL_ARB_depth_texture");
piglit_require_extension("GL_ARB_texture_rectangle");
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);