clray
diff src/clray.cc @ 18:4b1604f9798a
debugging...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 09 Aug 2010 05:38:51 +0100 |
parents | 754faf15ba36 |
children | 63a6b46f58a0 |
line diff
1.1 --- a/src/clray.cc Mon Aug 09 05:03:17 2010 +0100 1.2 +++ b/src/clray.cc Mon Aug 09 05:38:51 2010 +0100 1.3 @@ -53,7 +53,7 @@ 1.4 return false; 1.5 } 1.6 1.7 - glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE); 1.8 + glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE); 1.9 glutCreateWindow("OpenCL Raytracer"); 1.10 1.11 xsz = glutGet(GLUT_WINDOW_WIDTH);