search for: glutsolidteapot

Displaying 1 result from an estimated 1 matches for "glutsolidteapot".

2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...anyone else confirm they see this too? Any suggestions on how to fix this up? Thanks much, Sean P.S. compiled with -lGL -lglut and using r300 driver. #include <GL/glut.h> void DrawScene(void) { glClearColor(0.5, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); glColor3f(0.0, 0.1, 1.0); glutSolidTeapot(0.6); glFlush(); } int main(int argc, char *argv[]) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB); glutCreateWindow(argv[0]); glutDisplayFunc(DrawScene); glutMainLoop(); return 0; }