mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 05:13:59 +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);
|
pm->render(this, mr);
|
||||||
rendering= false;
|
rendering= false;
|
||||||
|
|
||||||
|
// blend mode back to normal
|
||||||
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
//pop state
|
//pop state
|
||||||
glPopClientAttrib();
|
glPopClientAttrib();
|
||||||
glPopAttrib();
|
glPopAttrib();
|
||||||
|
Reference in New Issue
Block a user