This commit is contained in:
ZakatTeamI2P 2026-03-31 02:33:58 +04:00
parent c9af737845
commit 0a1023c5ed
2 changed files with 3 additions and 5 deletions

View file

@ -369,15 +369,13 @@ int main(int argc, char *argv[])
return 0;
}
//SDL_DisplayMode mode;
//SDL_GetDisplayMode(0, 0, &mode);
SDL_DisplayMode mode;
/* Can't sync to display refresh rate if its value is unknown */
//if (!mode.refresh_rate)
// conf.syncToRefreshrate = false;
EventThread eventThread;
//RGSSThreadData rtData(&eventThread, win, alcDev, mode.refresh_rate, conf);
RGSSThreadData rtData(&eventThread, win, alcDev, mode.refresh_rate, conf);
#ifndef STEAM
/* Add controller bindings from embedded controller DB */

View file

@ -478,7 +478,7 @@ struct SettingsMenuPrivate
}
SDL_Surface *createTextSurface(const char *str, bool bold){
//SDL_Color c = { cText, cText, cText, 255 };
SDL_Color c = { cText, cText, cText, 255 };
applyFontStyle(bold);
return TTF_RenderText_Blended(font, str, strlen(str), c);