mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +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) {
|
||||
InitReturnPtr(ppQuery);
|
||||
|
||||
HRESULT hr = D3D9Query::QuerySupported(this, Type);
|
||||
|
||||
if (ppQuery == nullptr || hr != D3D_OK)
|
||||
|
Loading…
Reference in New Issue
Block a user