summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-12 08:02:09 -0700
committerBrian <[email protected]>2007-11-12 08:02:09 -0700
commitf6ab1347d6761fa63f217e0f651a531c5103fcc7 (patch)
tree2a57fc234a93d0c5f6737a3e7aafdfc6ee65bfe9
parentb87ce5be8268476cc814f6cd23eae7b5a2a6958a (diff)
remove dependency on libGLU
-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 0ad9147aea6..6c5abf383be 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>
@@ -135,7 +134,7 @@ int main(int argc, char** argv) {
/* set up viewing parameters */
glMatrixMode(GL_PROJECTION);
- gluPerspective(20, 1, 10, 20);
+ glFrustum(-1, 1, -1, 1, 6, 20);
glMatrixMode(GL_MODELVIEW);
glTranslatef(0, 0, -15);