mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d9] Initialize return ptr in device's GetBackBuffer
The swapchain's function does not do this, but this one does.
This commit is contained in:
parent
528cacca5f
commit
0757097fa0
@ -326,6 +326,8 @@ namespace dxvk {
|
||||
UINT iBackBuffer,
|
||||
D3DBACKBUFFER_TYPE Type,
|
||||
IDirect3DSurface9** ppBackBuffer) {
|
||||
InitReturnPtr(ppBackBuffer);
|
||||
|
||||
if (unlikely(iSwapChain != 0))
|
||||
return D3DERR_INVALIDCALL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user