summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-12 08:21:21 -0700
committerBrian <[email protected]>2007-11-12 08:21:21 -0700
commit412168f2e884d3dd8318c28405683c15c6912c93 (patch)
tree1f536ac633f52455109ff5de63b8dd09e5fb3fdd /progs
parentfc0fa0d636a7ca27735d580777d4d4844a515bb4 (diff)
remove dependency on libGLU
Diffstat (limited to 'progs')
-rw-r--r--progs/xdemos/offset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/progs/xdemos/offset.c b/progs/xdemos/offset.c
index 3e92e68daa7..97170f5c8de 100644
--- a/progs/xdemos/offset.c
+++ b/progs/xdemos/offset.c
@@ -47,7 +47,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <GL/glx.h>
-#include <GL/glu.h>
#include <X11/keysym.h>
#include <stdlib.h>
#include <stdio.h>
@@ -134,7 +133,7 @@ int main(int argc, char** argv) {
/* set up viewing parameters */
glMatrixMode(GL_PROJECTION);
- gluPerspective(20, 1, 0.1, 20);
+ glFrustum(-1, 1, -1, 1, 6, 20);
glMatrixMode(GL_MODELVIEW);
glTranslatef(0, 0, -15);