Skip to content

Commit

Permalink
Delete unrequired procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
maron2000 committed Feb 11, 2025
1 parent ba311cc commit 5a55103
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/output/output_ttf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,6 @@ void ttf_setlines(int cols, int lins) {
}

void ttf_switch_on(bool ss=true) {
if(!finish_prepare) return;
if ((ss&&ttfswitch)||(!ss&&switch_output_from_ttf)) {
checkcol = 0;
if (strcmp(RunningProgram, "LOADLIN")) {
Expand All @@ -1432,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");
Expand Down

0 comments on commit 5a55103

Please sign in to comment.