summaryrefslogtreecommitdiff
path: root/src/doom/hu_lib.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-20 20:32:24 +0000
committerSimon Howard2008-09-20 20:32:24 +0000
commite2e163c6e3fc1db2df6da1d4ed831fe6629e180b (patch)
treec3d81045e2d2bf442a5c784f0f21dd6518935d81 /src/doom/hu_lib.c
parentbacd7fff1a0cddfa17218df410e9bfb7596e94a4 (diff)
downloadchocolate-doom-e2e163c6e3fc1db2df6da1d4ed831fe6629e180b.tar.gz
chocolate-doom-e2e163c6e3fc1db2df6da1d4ed831fe6629e180b.tar.bz2
chocolate-doom-e2e163c6e3fc1db2df6da1d4ed831fe6629e180b.zip
Remove screen parameter from V_DrawPatch functions; update code to use
V_UseBuffer where necessary. Subversion-branch: /branches/raven-branch Subversion-revision: 1248
Diffstat (limited to 'src/doom/hu_lib.c')
-rw-r--r--src/doom/hu_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doom/hu_lib.c b/src/doom/hu_lib.c
index 5d8428ba..c7c62d06 100644
--- a/src/doom/hu_lib.c
+++ b/src/doom/hu_lib.c
@@ -121,7 +121,7 @@ HUlib_drawTextLine
w = SHORT(l->f[c - l->sc]->width);
if (x+w > SCREENWIDTH)
break;
- V_DrawPatchDirect(x, l->y, FG, l->f[c - l->sc]);
+ V_DrawPatchDirect(x, l->y, l->f[c - l->sc]);
x += w;
}
else
@@ -136,7 +136,7 @@ HUlib_drawTextLine
if (drawcursor
&& x + SHORT(l->f['_' - l->sc]->width) <= SCREENWIDTH)
{
- V_DrawPatchDirect(x, l->y, FG, l->f['_' - l->sc]);
+ V_DrawPatchDirect(x, l->y, l->f['_' - l->sc]);
}
}