mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Fix the wonky viewsize border.
2D mode wasn't getting set after rendering the world. oops.
This commit is contained in:
parent
eb2e688c9e
commit
f5f8b65c81
2 changed files with 2 additions and 3 deletions
|
@ -679,7 +679,7 @@ VISIBLE void
|
||||||
Draw_TileClear (int x, int y, int w, int h)
|
Draw_TileClear (int x, int y, int w, int h)
|
||||||
{
|
{
|
||||||
static quat_t color = { 1, 1, 1, 1 };
|
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
|
VISIBLE void
|
||||||
|
|
|
@ -190,8 +190,7 @@ SCR_UpdateScreen (double realtime, SCR_Func *scr_funcs)
|
||||||
V_RenderView (); // FIXME (scr_3dfuncs?)
|
V_RenderView (); // FIXME (scr_3dfuncs?)
|
||||||
|
|
||||||
SCR_SetUpToDrawConsole ();
|
SCR_SetUpToDrawConsole ();
|
||||||
if (!r_worldentity.model)
|
GL_Set2D ();
|
||||||
GL_Set2D ();
|
|
||||||
GL_DrawReset ();
|
GL_DrawReset ();
|
||||||
SCR_TileClear ();
|
SCR_TileClear ();
|
||||||
GL_Set2DScaled ();
|
GL_Set2DScaled ();
|
||||||
|
|
Loading…
Reference in a new issue