search for: glut_singl

Displaying 2 results from an estimated 2 matches for "glut_singl".

Did you mean: glut_single
2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...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; }
2015 Feb 16
4
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
...t;GL/gl.h" void foo(); // Defined in libcrashme.so // Dummy OpenGL display func void display () { } int main(int argc, char** argv) { foo(); // Call our dummy llvm function, that actually does nothing. This is required for the crash glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE); glutInitWindowSize(500, 500); glutInitWindowPosition(100, 100); glutCreateWindow("This crashes when using an llvm lib"); // Crash happens here: glutDisplayFunc(display); glutMainLoop(); } daniel at ubuntu32-dev:~/projects/llvmcrash/app$ cat compile_and_run.sh r...