Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed|Model Renderer: Blending issue with models vs. sprites
All buffered DGL draws must be flushed before drawing a GL2 model, since that does not use DGL.
  • Loading branch information
skyjake committed Sep 29, 2019
1 parent 2c8460f commit 1c95615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/apps/client/src/render/rend_main.cpp
Expand Up @@ -4477,6 +4477,7 @@ static void drawMasked()
break;

case VSPR_MODELDRAWABLE:
DGL_Flush();
ClientApp::renderSystem().modelRenderer().render(*spr);
break;

Expand Down

0 comments on commit 1c95615

Please sign in to comment.