Skip to content

Commit

Permalink
Fix water and lava animation overlay
Browse files Browse the repository at this point in the history
Fixes: bug #512
  • Loading branch information
dscharrer committed Dec 21, 2014
1 parent cda4e47 commit febcf8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scene/Scene.cpp
Expand Up @@ -880,6 +880,7 @@ static void RenderWater() {

GRenderer->SetBlendFunc(Renderer::BlendDstColor, Renderer::BlendOne);
GRenderer->SetTexture(0, enviro);
GRenderer->SetTexture(1, enviro);
GRenderer->SetTexture(2, enviro);

unsigned short * indices = dynamicVertices.indices;
Expand Down Expand Up @@ -985,6 +986,7 @@ static void RenderLava() {

GRenderer->SetBlendFunc(Renderer::BlendDstColor, Renderer::BlendOne);
GRenderer->SetTexture(0, enviro);
GRenderer->SetTexture(1, enviro);
GRenderer->SetTexture(2, enviro);

unsigned short * indices = dynamicVertices.indices;
Expand Down

0 comments on commit febcf8d

Please sign in to comment.