mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Additional changes to d003db6
This commit is contained in:
@ -305,9 +305,10 @@ void CanvasD2D::SetTextRenderingOptions(float gamma, float enhancedContrast)
|
||||
HRESULT hr = c_DWFactory->CreateRenderingParams(defaultRenderingParams.GetAddressOf());
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
hr = c_DWFactory->CreateCustomRenderingParams(
|
||||
hr = ((IDWriteFactory1*)c_DWFactory.Get())->CreateCustomRenderingParams(
|
||||
gamma,
|
||||
enhancedContrast,
|
||||
enhancedContrast,
|
||||
defaultRenderingParams->GetClearTypeLevel(),
|
||||
defaultRenderingParams->GetPixelGeometry(),
|
||||
defaultRenderingParams->GetRenderingMode(),
|
||||
|
Reference in New Issue
Block a user