mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Old Vsync code deleted
This commit is contained in:
parent
6bcf17ea55
commit
e7f162ad7c
4 changed files with 0 additions and 9 deletions
|
|
@ -35,10 +35,6 @@ defScreenH=0
|
|||
# is upscaled
|
||||
smoothScaling=false
|
||||
|
||||
# Sync screen redraws to the monitor refresh rate
|
||||
# (default: enabled)
|
||||
vsync=true
|
||||
|
||||
# Enforce a static frame rate
|
||||
# (0 = disabled)
|
||||
fixedFramerate=0
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ void Config::read(int argc, char *argv[]){
|
|||
PO_DESC(fixedAspectRatio, bool, true) \
|
||||
/*PO_DESC(AspectPreset, int, 1)*/ \
|
||||
PO_DESC(smoothScaling, bool, false) \
|
||||
PO_DESC(vsync, bool, true) \
|
||||
PO_DESC(defScreenW, int, 0) \
|
||||
PO_DESC(defScreenH, int, 0) \
|
||||
PO_DESC(windowTitle, std::string, "") \
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ struct Config{
|
|||
bool resolutionOverridden;
|
||||
bool Windows_AllocConsole;
|
||||
bool smoothScaling;
|
||||
bool vsync;
|
||||
bool pancakes;
|
||||
int defScreenW;
|
||||
int defScreenH;
|
||||
|
|
|
|||
|
|
@ -125,9 +125,6 @@ int rgssThreadFun(void *userdata){
|
|||
Debug() << "[main] GL Renderer :" << glGetStringInt(GL_RENDERER);
|
||||
Debug() << "[main] GL Version :" << glGetStringInt(GL_VERSION);
|
||||
Debug() << "[main] GLSL Version :" << glGetStringInt(GL_SHADING_LANGUAGE_VERSION);
|
||||
|
||||
bool vsync = conf.vsync || conf.syncToRefreshrate;
|
||||
SDL_GL_SetSwapInterval(vsync ? 1 : 0);
|
||||
#ifndef NDEBUG
|
||||
GLDebugLogger dLogger;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue