projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b87ce5b
)
remove dependency on libGLU
author
Brian
<brian.paul@tungstengraphics.com>
Mon, 12 Nov 2007 15:02:09 +0000
(08:02 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Mon, 12 Nov 2007 15:02:09 +0000
(08:02 -0700)
progs/xdemos/offset.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/offset.c
b/progs/xdemos/offset.c
index 0ad9147aea6d9be65775353a652189cf4198752e..6c5abf383be7640ccd460077e0e1bb9f08f6c229 100644
(file)
--- 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);
- gl
uPerspective(20, 1, 10
, 20);
+ gl
Frustum(-1, 1, -1, 1, 6
, 20);
glMatrixMode(GL_MODELVIEW);
glTranslatef(0, 0, -15);