summaryrefslogtreecommitdiff
path: root/src/glut/mini
diff options
context:
space:
mode:
authorSean D'Epagnier <geckosenator@freedesktop.org>2006-08-18 10:38:15 +0000
committerSean D'Epagnier <geckosenator@freedesktop.org>2006-08-18 10:38:15 +0000
commit7e4152f0ed46f644a4247444e18dc7ad6c9832b0 (patch)
treee281f83eff5b387fa4a92d81ced80c91716e0899 /src/glut/mini
parentbd87c303e94659941a7c623d0b836e3ff317cfb4 (diff)
The driver now compiles correctly without any x headers or libraries installed
The bitmap and stroke code can't be shared with glx anymore because of this. The model for the mini teapot is restored and I have tested it to work with linux-fbdev and linux-solo The driver recognizes 32bpp where there is no alpha (my radeon 7500) It also sets the correct number of cmap entrees (instead of 256 which can be an error)
Diffstat (limited to 'src/glut/mini')
-rw-r--r--src/glut/mini/teapot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glut/mini/teapot.c b/src/glut/mini/teapot.c
index ec2a207763..aa96fcbbbd 100644
--- a/src/glut/mini/teapot.c
+++ b/src/glut/mini/teapot.c
@@ -143,7 +143,6 @@ teapot(GLint grid, GLdouble scale, GLenum type)
float p[4][4][3], q[4][4][3], r[4][4][3], s[4][4][3];
long i, j, k, l;
-#if 0
glPushAttrib(GL_ENABLE_BIT | GL_EVAL_BIT);
glEnable(GL_AUTO_NORMAL);
glEnable(GL_NORMALIZE);
@@ -195,7 +194,6 @@ teapot(GLint grid, GLdouble scale, GLenum type)
}
glPopMatrix();
glPopAttrib();
-#endif
}
/* CENTRY */