invisible

diff src/main.cc @ 18:ad78eb81988d

backup
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Sun, 10 Nov 2013 00:38:23 +0200
parents 136460b6c9af
children 53fe01a4e2f3
line diff
     1.1 --- a/src/main.cc	Sun Nov 10 00:36:58 2013 +0200
     1.2 +++ b/src/main.cc	Sun Nov 10 00:38:23 2013 +0200
     1.3 @@ -128,10 +128,9 @@
     1.4  		exit(1);
     1.5  	}
     1.6  
     1.7 +	/* drawing */
     1.8  	drawing = glGenLists(1);
     1.9  	glNewList(drawing, GL_COMPILE);
    1.10 -
    1.11 -	/* drawing */
    1.12  	glMatrixMode(GL_MODELVIEW);
    1.13  	glPushMatrix();
    1.14  	glTranslatef(0, 0, -24);
    1.15 @@ -143,6 +142,7 @@
    1.16  	glMatrixMode(GL_MODELVIEW);
    1.17  	glEndList();
    1.18  
    1.19 +	/* debugging */
    1.20  	debugging = glGenLists(1);
    1.21  	glNewList(debugging, GL_COMPILE);
    1.22  	glEnable(GL_TEXTURE_2D);