From 6de0cc6bccb02529107cc2c7a093969784214d6f Mon Sep 17 00:00:00 2001
From: Sryder <sryder13@gmail.com>
Date: Sat, 17 Mar 2018 14:47:06 +0000
Subject: [PATCH] Remove the OpenGL only code from V_DrawPatchFill That's all
 of the HUD drawing functions that are currently used updated in GL.

---
 src/v_video.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/v_video.c b/src/v_video.c
index cc81cedbc0..161c03d0b3 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -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)
-- 
GitLab