Remove the OpenGL only code from V_DrawPatchFill

That's all of the HUD drawing functions that are currently used updated in GL.
This commit is contained in:
Sryder 2018-03-17 14:47:06 +00:00
parent a9214ebd37
commit 6de0cc6bcc
1 changed files with 0 additions and 8 deletions

View File

@ -937,14 +937,6 @@ void V_DrawPatchFill(patch_t *pat)
INT32 dupz = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy);
INT32 x, y, pw = SHORT(pat->width) * dupz, ph = SHORT(pat->height) * dupz;
#ifdef HWRENDER
if (rendermode == render_opengl)
{
pw = FixedMul(SHORT(pat->width)*FRACUNIT, vid.fdupx)>>FRACBITS;
ph = FixedMul(SHORT(pat->height)*FRACUNIT, vid.fdupy)>>FRACBITS;
}
#endif
for (x = 0; x < vid.width; x += pw)
{
for (y = 0; y < vid.height; y += ph)