dungeon_crawler

diff prototype/src/light.cc @ 70:f55ddab0f3a4

"fixed" the disappearing lights issue
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 09 Oct 2012 02:54:01 +0300
parents aa86119e3295
children d89b403f630b
line diff
     1.1 --- a/prototype/src/light.cc	Sun Oct 07 03:42:44 2012 +0200
     1.2 +++ b/prototype/src/light.cc	Tue Oct 09 02:54:01 2012 +0300
     1.3 @@ -161,10 +161,10 @@
     1.4  
     1.5  bool PointLight::create_mesh()
     1.6  {
     1.7 -	if(sph_vbo) {
     1.8 +	/*if(sph_vbo) {
     1.9  		vbo = sph_vbo;
    1.10  		return true;
    1.11 -	}
    1.12 +	}*/
    1.13  
    1.14  	printf("building sphere mesh for point light drawing\n");
    1.15