diff options
author | Brian Paul <brianp@vmware.com> | 2012-10-29 08:50:49 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-10-29 11:45:20 -0600 |
commit | 14ff021310104e917f68896a308f4f4e3950420f (patch) | |
tree | 68c798969349f785594e261b79a2e29a0a6dff88 /tests | |
parent | f6ffe486536250dc68317668ce5deb188d92274e (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.c | 3 |
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(); |