search for: glut_rgb

Displaying 3 results from an estimated 3 matches for "glut_rgb".

Did you mean: gl_rgb
2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...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; }
2013 Jan 26
1
[LLVMdev] lli problem with a simple OpenGL
 Hello, I wrote a very simple openGL application, as below #include #include int main(int argc, char **argv) {   glutInit(&argc, argv);   glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);   glutCreateWindow("red 3D lighted cube");   printf("GL_VERSION = %s\n",glGetString(GL_VERSION) );   return 0; } Compiling it with Clang and adding -lglut option worked correctly $ clang  simple.c  -o  simple  -lglut $ ./simple GL_VERSION = 2.1 Mesa 7.10.2 But,...
2013 Jan 28
0
[LLVMdev] Testing canaries
...inf8316> > Content-Type: text/plain; charset="utf-8" > > ?Hello, > > I wrote a very simple openGL application, as below > > #include > #include > int main(int argc, char **argv) > { > ? glutInit(&argc, argv); > ? glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); > ? glutCreateWindow("red 3D lighted cube"); > ? printf("GL_VERSION = %s\n",glGetString(GL_VERSION) ); > ? return 0; > } > > Compiling it with Clang and adding -lglut option worked correctly > $ clang? simple.c? -o? simple? -lglut > $ ./sim...