mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//SDL_DisplayMode mode;
|
SDL_DisplayMode mode;
|
||||||
//SDL_GetDisplayMode(0, 0, &mode);
|
|
||||||
|
|
||||||
/* Can't sync to display refresh rate if its value is unknown */
|
/* Can't sync to display refresh rate if its value is unknown */
|
||||||
//if (!mode.refresh_rate)
|
//if (!mode.refresh_rate)
|
||||||
// conf.syncToRefreshrate = false;
|
// conf.syncToRefreshrate = false;
|
||||||
|
|
||||||
EventThread eventThread;
|
EventThread eventThread;
|
||||||
//RGSSThreadData rtData(&eventThread, win, alcDev, mode.refresh_rate, conf);
|
RGSSThreadData rtData(&eventThread, win, alcDev, mode.refresh_rate, conf);
|
||||||
|
|
||||||
#ifndef STEAM
|
#ifndef STEAM
|
||||||
/* Add controller bindings from embedded controller DB */
|
/* Add controller bindings from embedded controller DB */
|
||||||
|
|
|
||||||
|
|
@ -478,7 +478,7 @@ struct SettingsMenuPrivate
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Surface *createTextSurface(const char *str, bool bold){
|
SDL_Surface *createTextSurface(const char *str, bool bold){
|
||||||
//SDL_Color c = { cText, cText, cText, 255 };
|
SDL_Color c = { cText, cText, cText, 255 };
|
||||||
applyFontStyle(bold);
|
applyFontStyle(bold);
|
||||||
|
|
||||||
return TTF_RenderText_Blended(font, str, strlen(str), c);
|
return TTF_RenderText_Blended(font, str, strlen(str), c);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue