mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-28 14:42:23 +00:00
Merge branch 'master' into Glew_Version_For_Real
This commit is contained in:
commit
e07d06fa2a
1 changed files with 2 additions and 1 deletions
|
@ -643,6 +643,8 @@ void FGLRenderer::DrawBlend(sector_t * viewsector)
|
|||
|
||||
void FGLRenderer::EndDrawScene(sector_t * viewsector)
|
||||
{
|
||||
gl_RenderState.EnableFog(false);
|
||||
|
||||
// [BB] HUD models need to be rendered here. Make sure that
|
||||
// DrawPlayerSprites is only called once. Either to draw
|
||||
// HUD models or to draw the weapon sprites.
|
||||
|
@ -657,7 +659,6 @@ void FGLRenderer::EndDrawScene(sector_t * viewsector)
|
|||
glDisable(GL_STENCIL_TEST);
|
||||
glDisable(GL_POLYGON_SMOOTH);
|
||||
|
||||
gl_RenderState.EnableFog(false);
|
||||
framebuffer->Begin2D(false);
|
||||
|
||||
ResetViewport();
|
||||
|
|
Loading…
Reference in a new issue