diff --git a/res/d3d8to9.rc b/res/d3d8to9.rc index 292e945..0e18713 100644 Binary files a/res/d3d8to9.rc and b/res/d3d8to9.rc differ 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)) {