From 1bcbeca40beb9756d21872300a75174dd01cff7f Mon Sep 17 00:00:00 2001 From: crosire Date: Fri, 7 Jul 2023 19:10:21 +0200 Subject: [PATCH] Bump up version --- res/d3d8to9.rc | 4 ++-- source/d3d8to9_device.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/d3d8to9.rc b/res/d3d8to9.rc index 08e8c8f..47e13c7 100644 --- a/res/d3d8to9.rc +++ b/res/d3d8to9.rc @@ -52,7 +52,7 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,11,1,0 + FILEVERSION 1,12,0,0 PRODUCTVERSION 3,0,0,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG @@ -70,7 +70,7 @@ BEGIN BEGIN VALUE "CompanyName", "crosire" VALUE "FileDescription", "d3d8to9" - VALUE "FileVersion", "1.11.1.0" + VALUE "FileVersion", "1.12.0.0" VALUE "LegalCopyright", "Copyright © 2015. All rights reserved." VALUE "OriginalFilename", "d3d8.dll" VALUE "ProductName", "ReShade" diff --git a/source/d3d8to9_device.cpp b/source/d3d8to9_device.cpp index 12c4445..c1e9804 100644 --- a/source/d3d8to9_device.cpp +++ b/source/d3d8to9_device.cpp @@ -739,7 +739,7 @@ HRESULT STDMETHODCALLTYPE Direct3DDevice8::SetRenderState(D3DRENDERSTATETYPE Sta return hr; case D3DRS_ZBIAS: Biased = static_cast(Value) * -0.000005f; - Value = *reinterpret_cast(&Biased); + Value = *reinterpret_cast(&Biased); State = D3DRS_DEPTHBIAS; default: return ProxyInterface->SetRenderState(State, Value);