c725894abd
Would be really useful for native versions too, but it's more complicated to pull off. For now, vsync on native is the same as tpt.setfpscap(2).
15 lines
205 B
C++
15 lines
205 B
C++
#pragma once
|
|
#include <variant>
|
|
|
|
struct FpsLimitVsync
|
|
{
|
|
};
|
|
struct FpsLimitNone
|
|
{
|
|
};
|
|
struct FpsLimitExplicit
|
|
{
|
|
float value;
|
|
};
|
|
using FpsLimit = std::variant<FpsLimitVsync, FpsLimitNone, FpsLimitExplicit>;
|