This commit is contained in:
Tleety
2016-02-11 15:43:41 +01:00
parent 7ccaf5b040
commit 51e0b852d2
+1 -2
View File
@@ -626,8 +626,7 @@ void DrawFinalPass::DrawSprites(std::list<std::shared_ptr<RenderJob>>&jobs, Rend
RenderState jobState;
if (spriteJob) {
if(spriteJob->Depth == 0)
{
if(spriteJob->Depth == 0) {
jobState.Disable(GL_DEPTH_TEST);
}
glUniformMatrix4fv(glGetUniformLocation(shaderHandle, "M"), 1, GL_FALSE, glm::value_ptr(spriteJob->Matrix));