From 2609be5e2b5d905f8a02b9dfff8bf9433ad6ff3d Mon Sep 17 00:00:00 2001 From: crosire Date: Sun, 15 Jul 2018 20:18:24 +0200 Subject: [PATCH] Bump up version --- res/d3d8to9.rc | Bin 4446 -> 4446 bytes source/d3d8to9_device.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/res/d3d8to9.rc b/res/d3d8to9.rc index 292e945a69f11482b3fad453415738f29076908f..0e18713c9239a6174364ecd3ead34babf36d0e0a 100644 GIT binary patch delta 31 ncmcbobWdqR8waD|=5`KdW@bYMy~*)hl9L^HI5w~2-oOd~pI8Yv delta 31 ncmcbobWdqR8waDo=5`KdW@ZBhy~*)hl9L^HI5w~2-oOd~pD_tG diff --git a/source/d3d8to9_device.cpp b/source/d3d8to9_device.cpp index bdda1d7..0129c8f 100644 --- a/source/d3d8to9_device.cpp +++ b/source/d3d8to9_device.cpp @@ -713,7 +713,7 @@ HRESULT STDMETHODCALLTYPE Direct3DDevice8::SetViewport(const D3DVIEWPORT8 *pView { if (pCurrentRenderTarget != nullptr) { - D3DSURFACE_DESC Desc = {}; + D3DSURFACE_DESC Desc; if (SUCCEEDED(pCurrentRenderTarget->GetDesc(&Desc)) && (pViewport->Height > Desc.Height || pViewport->Width > Desc.Width)) {