mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
blend mode set to normal after particle rendering
This commit is contained in:
parent
f475b2e3a7
commit
a37e7b398e
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user