1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[d3d9] Don't InitReturnPtr in GetBackBuffer

Matches native behaviour.

Found via a Wine test.
This commit is contained in:
Joshua Ashton 2020-02-28 01:02:56 +00:00
parent c07f8c941c
commit 8cfca32c2a

View File

@ -331,8 +331,6 @@ namespace dxvk {
UINT iBackBuffer,
D3DBACKBUFFER_TYPE Type,
IDirect3DSurface9** ppBackBuffer) {
InitReturnPtr(ppBackBuffer);
if (ppBackBuffer == nullptr)
return D3DERR_INVALIDCALL;