dungeon_crawler
diff prototype/src/renderer.cc @ 73:67d330038629
ok fixed the dissapearing particle system. Had forgotten to disable TEXTURE_3D after color grading pass
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 21 Oct 2012 02:11:23 +0300 |
parents | a27528035e20 |
children | 5981917093ff |
line diff
1.1 --- a/prototype/src/renderer.cc Fri Oct 19 02:45:57 2012 +0300 1.2 +++ b/prototype/src/renderer.cc Sun Oct 21 02:11:23 2012 +0300 1.3 @@ -136,7 +136,10 @@ 1.4 glEnd(); 1.5 glUseProgram(0); 1.6 1.7 + glActiveTextureARB(GL_TEXTURE1); 1.8 + glDisable(GL_TEXTURE_3D); 1.9 glActiveTextureARB(GL_TEXTURE0); 1.10 + glDisable(GL_TEXTURE_2D); 1.11 1.12 CHECKGLERR; 1.13 }