mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
;3
This commit is contained in:
parent
c9af737845
commit
0a1023c5ed
2 changed files with 3 additions and 5 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue