# HG changeset patch # User John Tsiombikas # Date 1350774683 -10800 # Node ID 67d33003862935f0201bd07087059b9cd4e6a751 # Parent a27528035e2082ee1fe8103459062143a1afff6c ok fixed the dissapearing particle system. Had forgotten to disable TEXTURE_3D after color grading pass diff -r a27528035e20 -r 67d330038629 prototype/src/renderer.cc --- a/prototype/src/renderer.cc Fri Oct 19 02:45:57 2012 +0300 +++ b/prototype/src/renderer.cc Sun Oct 21 02:11:23 2012 +0300 @@ -136,7 +136,10 @@ glEnd(); glUseProgram(0); + glActiveTextureARB(GL_TEXTURE1); + glDisable(GL_TEXTURE_3D); glActiveTextureARB(GL_TEXTURE0); + glDisable(GL_TEXTURE_2D); CHECKGLERR; }