mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d9] Don't InitReturnPtr in GetBackBuffer
Matches native behaviour. Found via a Wine test.
This commit is contained in:
parent
c07f8c941c
commit
8cfca32c2a
@ -331,8 +331,6 @@ namespace dxvk {
|
|||||||
UINT iBackBuffer,
|
UINT iBackBuffer,
|
||||||
D3DBACKBUFFER_TYPE Type,
|
D3DBACKBUFFER_TYPE Type,
|
||||||
IDirect3DSurface9** ppBackBuffer) {
|
IDirect3DSurface9** ppBackBuffer) {
|
||||||
InitReturnPtr(ppBackBuffer);
|
|
||||||
|
|
||||||
if (ppBackBuffer == nullptr)
|
if (ppBackBuffer == nullptr)
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user