mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 12:54:01 +02:00
blend mode set to normal after particle rendering
This commit is contained in:
@@ -64,6 +64,9 @@ void ParticleRendererGl::renderManager(ParticleManager *pm, ModelRenderer *mr){
|
||||
pm->render(this, mr);
|
||||
rendering= false;
|
||||
|
||||
// blend mode back to normal
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
//pop state
|
||||
glPopClientAttrib();
|
||||
glPopAttrib();
|
||||
|
Reference in New Issue
Block a user