mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Fix screen blanked when restoring minimized window in TTF mode (Windows SDL1)
This commit is contained in:
@@ -1431,7 +1431,7 @@ void ttf_switch_on(bool ss=true) {
|
||||
bool OpenGL_using(void), gl = OpenGL_using();
|
||||
(void)gl; // unused var warning
|
||||
#if defined(WIN32) && !defined(C_SDL2)
|
||||
//change_output(0); // call OUTPUT_SURFACE_Select() to initialize output before enabling TTF output on Windows builds
|
||||
change_output(0); // call OUTPUT_SURFACE_Select() to initialize output before enabling TTF output on Windows builds
|
||||
#endif
|
||||
change_output(10); // call OUTPUT_TTF_Select()
|
||||
SetVal("sdl", "output", "ttf");
|
||||
|
Reference in New Issue
Block a user