mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
parent
77a8c5bbfc
commit
ced1b326df
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ namespace {
|
|||
reinterpret_cast<uintptr_t>(*pDevice));
|
||||
try {
|
||||
const char* frameGenEnv = std::getenv("LSFG_MULTIPLIER");
|
||||
const uint64_t frameGen = std::max<uint64_t>(1,
|
||||
std::stoul(frameGenEnv ? frameGenEnv : "2") - 1);
|
||||
const uint64_t frameGen = static_cast<uint64_t>(
|
||||
std::max<int64_t>(1, std::stol(frameGenEnv ? frameGenEnv : "2") - 1));
|
||||
Log::debug("hooks", "Using {}x frame generation",
|
||||
frameGen + 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue