If we fail to init any system fonts in Drawer2D_MakeFont, immediately abort the client.

Otherwise just end up crashing from null pointer elsewhere
This commit is contained in:
UnknownShadow200 2020-05-07 10:14:37 +10:00
parent 90b94409af
commit 3aa69c888a

View File

@ -78,6 +78,7 @@ void Drawer2D_MakeFont(struct FontDesc* desc, int size, int style) {
return; return;
} }
} }
Logger_Abort2(res, "Failed to make system font");
} }
} }