Remove targetFrameTime / Limiter

This commit is contained in:
2021-05-24 01:04:14 -04:00
parent f4b1e12956
commit 55deba0913
9 changed files with 9 additions and 57 deletions

View File

@@ -125,7 +125,7 @@ namespace boo {
int ApplicationRun(IApplication::EPlatformType platform, IApplicationCallback& cb, std::string_view uniqueName,
std::string_view friendlyName, std::string_view pname, const std::vector<std::string>& args,
std::string_view gfxApi, uint32_t samples, uint32_t anisotropy, bool deepColor,
int64_t targetFrameTime, bool singleInstance) {
bool singleInstance) {
std::string thrName = std::string(friendlyName) + " Main";
logvisor::RegisterThreadName(thrName.c_str());
if (APP)
@@ -135,7 +135,7 @@ int ApplicationRun(IApplication::EPlatformType platform, IApplicationCallback& c
singleInstance);
else if (platform == IApplication::EPlatformType::Xlib || platform == IApplication::EPlatformType::Auto)
APP = new ApplicationXlib(cb, uniqueName, friendlyName, pname, args, gfxApi, samples, anisotropy, deepColor,
targetFrameTime, singleInstance);
singleInstance);
else
return 1;
int ret = APP->run();