istereo

diff src/sanegl.c @ 27:fd39c0198935

normal mapped tunnel
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 08 Sep 2011 08:30:00 +0300
parents 75a63f9ab7cc
children
line diff
     1.1 --- a/src/sanegl.c	Thu Sep 08 06:28:38 2011 +0300
     1.2 +++ b/src/sanegl.c	Thu Sep 08 08:30:00 2011 +0300
     1.3 @@ -325,7 +325,7 @@
     1.4  	}
     1.5  
     1.6  	if(cloc != -1) {
     1.7 -		glVertexAttribPointer(cloc, 4, GL_FLOAT, 0, 0, col_arr);
     1.8 +		glVertexAttribPointer(cloc, 4, GL_FLOAT, 1, 0, col_arr);
     1.9  		glEnableVertexAttribArray(cloc);
    1.10  	}
    1.11