From 0dd92e93966cec1577953e560507753b140a5aa6 Mon Sep 17 00:00:00 2001 From: Inuyasha Date: Wed, 6 Apr 2016 18:33:38 -0700 Subject: [PATCH] V_DrawFill in OGL now consistent with software --- src/hardware/hw_draw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hardware/hw_draw.c b/src/hardware/hw_draw.c index e6a26e60..60183b58 100644 --- a/src/hardware/hw_draw.c +++ b/src/hardware/hw_draw.c @@ -657,6 +657,9 @@ void HWR_DrawFill(INT32 x, INT32 y, INT32 w, INT32 h, INT32 color) FOutVector v[4]; FSurfaceInfo Surf; + if (w < 0 || h < 0) + return; // consistency w/ software + // 3--2 // | /| // |/ |