Fixed font and render bug from TXTPRNT integration.

This commit is contained in:
Justin Marshall
2020-06-11 08:53:09 -07:00
parent b6d525a5cd
commit 04b14ea4a2
+2 -2
View File
@@ -88,8 +88,8 @@ void* __cdecl Set_Font(void const* fontptr)
if (fontptr) {
g_FontPtr = (char*)(fontptr);
g_fontWidthBlockPtr = (char*)(fontptr) + le16toh(header->width_list);
g_FontHeight = le16toh(header->max_height);
g_FontWidth = le16toh(header->max_width);
FontHeight = g_FontHeight = le16toh(header->max_height);
FontWidth = g_FontWidth = le16toh(header->max_width);
}
return header;