mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 13:54:16 +01:00
[d3d9] Don't InitReturnPtr in CreateQuery
Matches native behaviour Fixes a Wine test
This commit is contained in:
parent
5548493fad
commit
36d3e8e83d
@ -3160,8 +3160,6 @@ namespace dxvk {
|
|||||||
|
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE D3D9DeviceEx::CreateQuery(D3DQUERYTYPE Type, IDirect3DQuery9** ppQuery) {
|
HRESULT STDMETHODCALLTYPE D3D9DeviceEx::CreateQuery(D3DQUERYTYPE Type, IDirect3DQuery9** ppQuery) {
|
||||||
InitReturnPtr(ppQuery);
|
|
||||||
|
|
||||||
HRESULT hr = D3D9Query::QuerySupported(this, Type);
|
HRESULT hr = D3D9Query::QuerySupported(this, Type);
|
||||||
|
|
||||||
if (ppQuery == nullptr || hr != D3D_OK)
|
if (ppQuery == nullptr || hr != D3D_OK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user