mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Workaround for TFF font glitches under cursor in pregame
This commit is contained in:
parent
c948891fc6
commit
397f4cf8b6
@ -532,7 +532,12 @@ void CGPreGame::update()
|
||||
// check for null othervice crash on finishing a campaign
|
||||
// /FIXME: find out why GH.listInt is empty to begin with
|
||||
if (GH.topInt() != nullptr)
|
||||
#ifdef VCMI_SDL1
|
||||
GH.topInt()->show(screen);
|
||||
#else
|
||||
//FIXME: find better solution for TTF fonts under cursor glitches
|
||||
GH.topInt()->showAll(screen);
|
||||
#endif
|
||||
|
||||
if (settings["general"]["showfps"].Bool())
|
||||
GH.drawFPSCounter();
|
||||
|
Loading…
Reference in New Issue
Block a user