mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Don't InitReturnPtr in CreateQuery
Matches native behaviour Fixes a Wine test
This commit is contained in:
parent
5548493fad
commit
36d3e8e83d
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue