Skip to content

Commit

Permalink
Added a temporary kludge to work around bug #2982101 "GL state - wire…
Browse files Browse the repository at this point in the history
…frame vs sky vs fakeradio shadow edges" (see http://sourceforge.net/tracker/?func=detail&aid=2982101&group_id=74815&atid=542099)

Once Beta6.10 is released I'll address this properly by tracking down the cause.
  • Loading branch information
danij-deng committed Nov 18, 2010
1 parent f57efa6 commit c6ffa16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/engine/portable/src/rend_sky.c
Expand Up @@ -400,6 +400,11 @@ void Rend_RenderSkyHemisphere(int whichHemi)
Rend_SkyRenderer(whichHemi);
}
}

/// \kludge dj: addresses bug #2982101 - http://sourceforge.net/tracker/?func=detail&aid=2982101&group_id=74815&atid=542099
glBindTexture(GL_TEXTURE_2D, 0);
glColor4f(1, 1, 1, 1);
/// < kludge end
}

void Rend_RenderSky(void)
Expand Down

0 comments on commit c6ffa16

Please sign in to comment.