diff --git a/Source/Render/DX7/BackBufferDX7.cpp b/Source/Render/DX7/BackBufferDX7.cpp index f5546c560..f0da098b0 100644 --- a/Source/Render/DX7/BackBufferDX7.cpp +++ b/Source/Render/DX7/BackBufferDX7.cpp @@ -44,8 +44,7 @@ bool CRendererDX7::RestoreBackBuffer() { // OFFSET: 0x0055D3E0 // FUNCTION: fn_02103 bool CRendererDX7::LockBackBuffer() { - DDSURFACEDESC2 description{}; - description.dwSize = sizeof(description); + DDSURFACEDESC2 description = {sizeof(description)}; IDirectDrawSurface7* renderTarget = g_deviceOwnerDX7 ? g_deviceOwnerDX7->renderTarget : nullptr; if (FAILED(renderTarget->Lock(nullptr, &description, DDLOCK_WAIT, nullptr))) {