clray

diff src/clray.cc @ 34:a218551293ad

blah blah blah
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 24 Aug 2010 18:35:03 +0100
parents 4cf4919c3812
children 980bc07be868
line diff
     1.1 --- a/src/clray.cc	Tue Aug 24 05:47:04 2010 +0100
     1.2 +++ b/src/clray.cc	Tue Aug 24 18:35:03 2010 +0100
     1.3 @@ -120,7 +120,7 @@
     1.4  	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
     1.5  	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
     1.6  	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
     1.7 -	glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB32F, xsz, ysz, 0, GL_RGBA, GL_UNSIGNED_BYTE, test_pattern);
     1.8 +	glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB32F_ARB, xsz, ysz, 0, GL_RGBA, GL_UNSIGNED_BYTE, test_pattern);
     1.9  	delete [] test_pattern;
    1.10  
    1.11  	glutMainLoop();