Skip to content

Commit

Permalink
Test fix freeze when switching to TTF output (MinGW)
Browse files Browse the repository at this point in the history
  • Loading branch information
maron2000 committed Sep 16, 2023
1 parent 3888af5 commit 0c9e353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output/output_ttf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ void ttf_switch_on(bool ss=true) {
}
bool OpenGL_using(void), gl = OpenGL_using();
#if defined(WIN32) && !defined(C_SDL2)
change_output(3); // call OUTPUT_OPENGL_Select(GLBilinear) to initialize output before enabling TTF output on Windows builds (does nothing if OpenGL not available)
change_output(0); // call OUTPUT_OPENGL_Select(GLBilinear) to initialize output before enabling TTF output on Windows builds (does nothing if OpenGL not available)
#endif
change_output(10); // call OUTPUT_TTF_Select()
SetVal("sdl", "output", "ttf");
Expand Down

0 comments on commit 0c9e353

Please sign in to comment.