From: Brian Date: Mon, 12 Nov 2007 15:02:09 +0000 (-0700) Subject: remove dependency on libGLU X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6ab1347d6761fa63f217e0f651a531c5103fcc7;p=mesa.git remove dependency on libGLU --- 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 -#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);