Skip to content

Commit

Permalink
Fixed bug #2582804 - Fog vs Fakeradio plane shadow primitives. We wer…
Browse files Browse the repository at this point in the history
…e not selecting gltexture 0 when configuring the GL state for drawing plane shadows.
  • Loading branch information
danij committed Feb 21, 2009
1 parent e6cd4a6 commit e177ac7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/engine/portable/src/rend_list.c
Expand Up @@ -1323,6 +1323,9 @@ if(numTexUnits < 2)
// Render all primitives.
if(TU(list, TU_PRIMARY)->tex)
rlBind2(TU(list, TU_PRIMARY));
else
rlBind(0, GL_LINEAR);

if(!TU(list, TU_PRIMARY)->tex)
{
// Apply a modelview shift.
Expand Down

0 comments on commit e177ac7

Please sign in to comment.