istereo

diff src/istereo.c @ 11:698cbf1a1b97

foo
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 07 Sep 2011 08:25:56 +0300
parents f72f96c93972
children 9890940948f7
line diff
     1.1 --- a/src/istereo.c	Wed Sep 07 08:22:18 2011 +0300
     1.2 +++ b/src/istereo.c	Wed Sep 07 08:25:56 2011 +0300
     1.3 @@ -35,9 +35,9 @@
     1.4  
     1.5  	bind_program(prog);
     1.6  
     1.7 -	gl_matrix_mode(GL_MODELVIEW);
     1.8 +	/*gl_matrix_mode(GL_MODELVIEW);
     1.9  	gl_load_identity();
    1.10 -	gl_translatef(0, 0, -8);
    1.11 +	gl_translatef(0, 0, -8);*/
    1.12  
    1.13  	dbg_draw();
    1.14  
    1.15 @@ -106,10 +106,11 @@
    1.16  
    1.17      glUseProgram(prog);
    1.18  
    1.19 -	gl_apply_xform(prog);
    1.20 +	/*gl_apply_xform(prog);*/
    1.21  
    1.22 -	vloc = 0;//glGetAttribLocation(prog, "attr_vertex");
    1.23 -	cloc = 1;//glGetAttribLocation(prog, "attr_color");
    1.24 +
    1.25 +	vloc = 0;/*glGetAttribLocation(prog, "attr_vertex");*/
    1.26 +	cloc = 1;/*glGetAttribLocation(prog, "attr_color");*/
    1.27  	assert(vloc >= 0 && cloc >= 0);
    1.28  
    1.29      glVertexAttribPointer(vloc, 2, GL_FLOAT, 0, 0, squareVertices);