mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-29 13:01:18 +00:00
Fix formatting
This commit is contained in:
@@ -802,7 +802,7 @@ static void CheckWorkingMode()
|
||||
if (igdext == nullptr)
|
||||
{
|
||||
auto paths = GetDriverStore();
|
||||
|
||||
|
||||
for (size_t i = 0; i < paths.size(); i++)
|
||||
{
|
||||
auto dllPath = paths[i] / L"igdext64.dll";
|
||||
@@ -1187,4 +1187,4 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1555,7 +1555,7 @@ static void HookToDevice(ID3D12Device* InDevice)
|
||||
if (o_CreatePlacedResource != nullptr)
|
||||
DetourAttach(&(PVOID&) o_CreatePlacedResource, hkCreatePlacedResource);
|
||||
|
||||
// This does not work but luckily
|
||||
// This does not work but luckily
|
||||
// UE works without Intel Extension for it
|
||||
// if (o_GetResourceAllocationInfo != nullptr)
|
||||
// DetourAttach(&(PVOID&) o_GetResourceAllocationInfo, hkGetResourceAllocationInfo);
|
||||
|
||||
@@ -3167,12 +3167,11 @@ bool MenuCommon::RenderMenu()
|
||||
|
||||
if (currentFeature != nullptr)
|
||||
{
|
||||
ImGui::Text("Output Scaling is %s, Target Res: %dx%d\nJitter Count: %d",
|
||||
Config::Instance()->OutputScalingEnabled.value_or_default() ? "ENABLED"
|
||||
: "DISABLED",
|
||||
(uint32_t) (currentFeature->DisplayWidth() * _ssRatio),
|
||||
(uint32_t) (currentFeature->DisplayHeight() * _ssRatio),
|
||||
currentFeature->JitterCount());
|
||||
ImGui::Text(
|
||||
"Output Scaling is %s, Target Res: %dx%d\nJitter Count: %d",
|
||||
Config::Instance()->OutputScalingEnabled.value_or_default() ? "ENABLED" : "DISABLED",
|
||||
(uint32_t) (currentFeature->DisplayWidth() * _ssRatio),
|
||||
(uint32_t) (currentFeature->DisplayHeight() * _ssRatio), currentFeature->JitterCount());
|
||||
}
|
||||
|
||||
ImGui::EndDisabled();
|
||||
|
||||
@@ -209,7 +209,7 @@ class IGDExtProxy
|
||||
return false;
|
||||
|
||||
INTCExtensionAppInfo1 appInfo {};
|
||||
|
||||
|
||||
appInfo.pApplicationName = string_to_wstring(State::Instance().GameName.empty() ? State::Instance().GameExe
|
||||
: State::Instance().GameName)
|
||||
.c_str();
|
||||
@@ -284,7 +284,6 @@ class IGDExtProxy
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
static void Init(HMODULE module)
|
||||
{
|
||||
if (module == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user