diff --git a/oneshot.conf b/oneshot.conf index 305310e..38bbb04 100644 --- a/oneshot.conf +++ b/oneshot.conf @@ -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 diff --git a/src/config.cpp b/src/config.cpp index 91ad7db..63897fb 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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, "") \ diff --git a/src/config.h b/src/config.h index 515744e..e495791 100644 --- a/src/config.h +++ b/src/config.h @@ -35,7 +35,6 @@ struct Config{ bool resolutionOverridden; bool Windows_AllocConsole; bool smoothScaling; - bool vsync; bool pancakes; int defScreenW; int defScreenH; diff --git a/src/main.cpp b/src/main.cpp index 136ea5a..1cc9657 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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