Move the 2D set out of the 3D code.

It really belongs exclusively in the screen setup code.
This commit is contained in:
Bill Currie 2012-01-13 19:51:45 +09:00
parent f5f8b65c81
commit 7739ba3ea9
2 changed files with 1 additions and 3 deletions

View file

@ -653,7 +653,6 @@ R_RenderView (void)
R_RenderView_ ();
else
R_RenderViewFishEye ();
GL_Set2D ();
}
#define BOX_FRONT 0

View file

@ -243,8 +243,7 @@ SCR_UpdateScreen (double realtime, SCR_Func *scr_funcs)
V_RenderView ();
SCR_SetUpToDrawConsole ();
if (!r_worldentity.model)
GL_Set2D ();
GL_Set2D ();
GL_DrawReset ();
// also makes polyblend apply to whole screen