mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-04 00:31:35 +00:00
Fix clang error
This commit is contained in:
@@ -62,6 +62,7 @@ class DxgiFactoryHooks
|
||||
{
|
||||
private:
|
||||
bool previousState;
|
||||
|
||||
public:
|
||||
ScopedSkipFGSCCreation()
|
||||
{
|
||||
@@ -69,12 +70,13 @@ class DxgiFactoryHooks
|
||||
DxgiFactoryHooks::_skipFGSwapChainCreation = true;
|
||||
}
|
||||
~ScopedSkipFGSCCreation() { DxgiFactoryHooks::_skipFGSwapChainCreation = previousState; }
|
||||
};
|
||||
};
|
||||
|
||||
class ScopedSkipHighPerfCheck
|
||||
{
|
||||
private:
|
||||
bool previousState;
|
||||
|
||||
public:
|
||||
ScopedSkipHighPerfCheck()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user