Some sprite fixes

This commit is contained in:
Tleety
2016-03-09 19:12:06 +01:00
parent d093284569
commit 90b2c70215
2 changed files with 9 additions and 3 deletions
+2
View File
@@ -302,6 +302,8 @@ void DrawFinalPass::Draw(RenderScene& scene, BlurHUD* blurHUDPass)
GLERROR("TransparentObjects");
//state->BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
stateSprite->Enable(GL_DEPTH_TEST);
stateSprite->AlphaFunc(GL_GEQUAL, 0.05f);
stateSprite->Enable(GL_ALPHA_TEST);
DrawSprites(scene.Jobs.SpriteJob, scene);
GLERROR("SpriteJobs");