From f6ab1347d6761fa63f217e0f651a531c5103fcc7 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 12 Nov 2007 08:02:09 -0700 Subject: remove dependency on libGLU --- progs/xdemos/offset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'progs/xdemos/offset.c') diff --git a/progs/xdemos/offset.c b/progs/xdemos/offset.c index 0ad9147..6c5abf3 100644 --- a/progs/xdemos/offset.c +++ b/progs/xdemos/offset.c @@ -47,7 +47,6 @@ PERFORMANCE OF THIS SOFTWARE. #include -#include #include #include #include @@ -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); -- cgit v1.1