rayfract

changeset 9:628e7084a482

removed the getenv/glutIdleFunc hack as now stereowrap forces continuous redraws when necessary by sending Expose events.
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 03 Nov 2011 13:41:33 +0200
parents dfe7c98cf373
children 1496aae2e7d4
files src/rayfract.cc
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/src/rayfract.cc	Thu Nov 03 02:18:46 2011 +0200
     1.2 +++ b/src/rayfract.cc	Thu Nov 03 13:41:33 2011 +0200
     1.3 @@ -76,10 +76,6 @@
     1.4  	glutSpaceballRotateFunc(sball_rot);
     1.5  	glutSpaceballButtonFunc(sball_button);
     1.6  
     1.7 -	if(getenv("STEREO_METHOD") && strcmp(getenv("STEREO_METHOD"), "sequential") == 0) {
     1.8 -		glutIdleFunc(glutPostRedisplay);
     1.9 -	}
    1.10 -
    1.11  	glewInit();
    1.12  
    1.13  	glEnable(GL_CULL_FACE);