dungeon_crawler

diff prototype/src/tile.cc @ 41:acfe0c0110fc

- cleaned up the renderer - implemented fallback (non-deferred renderer)
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 30 Aug 2012 05:35:00 +0300
parents 862461b686f4
children dfd3a413ef9e
line diff
     1.1 --- a/prototype/src/tile.cc	Thu Aug 30 03:05:04 2012 +0300
     1.2 +++ b/prototype/src/tile.cc	Thu Aug 30 05:35:00 2012 +0300
     1.3 @@ -134,7 +134,7 @@
     1.4  {
     1.5  	int count = 0;
     1.6  
     1.7 -	int attr_loc = get_tangent_location();
     1.8 +	int attr_loc = rend->get_tangent_location();
     1.9  	if(attr_loc == -1) {
    1.10  		fprintf(stderr, "warning: failed to retrieve tangent attribute location while loading tile\n");
    1.11  	}