checking out text rendering

This commit is contained in:
2019-12-08 00:07:28 -07:00
parent 608fbec2bf
commit 161a854502
2 changed files with 5 additions and 1 deletions

View File

@@ -124,7 +124,8 @@ static void internal_textout(INT32 x, INT32 y, INT32 width, INT32 height, PBYTE
BYTE b;
PUINT16 dptr, lbuf;
Log(LDEBUG, "internal_textout(%d, %d, %d, %d, bits)", x, y, width, height);
if ((width == 0) && (height == 0))
return; /* must be drawing a space */
if (((x + width) >= Fb_Info->width) || ((y + height) >= Fb_Info->height))
return;
dptr = loc_from_coords(x, y);