Commit 9970133f authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

In case of D3D9 the CreateQuery call can be used to retrieve status  

information. According to MSDN the 'ppQuery' parameter can be set to NULL to detect if a certain query Type is supported.
parent 55942702
......@@ -124,9 +124,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateQuery(LPDIRECT3DDEVICE9 iface, D3DQUER
HRESULT hr = D3D_OK;
TRACE("(%p) Relay\n", This);
if (NULL == ppQuery) {
return D3DERR_INVALIDCALL;
}
/* Allocate the storage for the device */
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3DQuery9Impl));
if (NULL == object) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment