summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-10-29 08:50:49 -0600
committerBrian Paul <brianp@vmware.com>2012-10-29 11:45:20 -0600
commit14ff021310104e917f68896a308f4f4e3950420f (patch)
tree68c798969349f785594e261b79a2e29a0a6dff88 /tests
parentf6ffe486536250dc68317668ce5deb188d92274e (diff)
texgrad: use glFrustum() instead of gluPerspective()
To remove dependency on glu.h Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/arb_shader_texture_lod/execution/texgrad.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/spec/arb_shader_texture_lod/execution/texgrad.c b/tests/spec/arb_shader_texture_lod/execution/texgrad.c
index 0f3761fe..e502ecd5 100644
--- a/tests/spec/arb_shader_texture_lod/execution/texgrad.c
+++ b/tests/spec/arb_shader_texture_lod/execution/texgrad.c
@@ -30,7 +30,6 @@
*/
#include "piglit-util-gl-common.h"
-#include <GL/glu.h>
PIGLIT_GL_TEST_CONFIG_BEGIN
@@ -137,7 +136,7 @@ void piglit_init(int argc, char **argv)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- gluPerspective(45, 1, 0.1, 1000);
+ glFrustum(-0.1, 0.1, -0.1, 0.1, 0.1, 1000.0);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();