Fix the wonky viewsize border.

2D mode wasn't getting set after rendering the world. oops.
This commit is contained in:
Bill Currie 2012-01-13 19:47:16 +09:00
parent eb2e688c9e
commit f5f8b65c81
2 changed files with 2 additions and 3 deletions

View file

@ -679,7 +679,7 @@ VISIBLE void
Draw_TileClear (int x, int y, int w, int h)
{
static quat_t color = { 1, 1, 1, 1 };
draw_pic (x, y, w, h, backtile_pic, x, y, w, h, color);
draw_pic (x, y, w, h, backtile_pic, 0, 0, w, h, color);
}
VISIBLE void

View file

@ -190,8 +190,7 @@ SCR_UpdateScreen (double realtime, SCR_Func *scr_funcs)
V_RenderView (); // FIXME (scr_3dfuncs?)
SCR_SetUpToDrawConsole ();
if (!r_worldentity.model)
GL_Set2D ();
GL_Set2D ();
GL_DrawReset ();
SCR_TileClear ();
GL_Set2DScaled ();