0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-04-18 00:11:48 +00:00

V_DrawFill in OGL now consistent with software

This commit is contained in:
Inuyasha 2016-04-06 18:33:38 -07:00
parent 3117a6a16e
commit 0dd92e9396

View file

@ -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
// | /|
// |/ |