Commit 008c23d0 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Improve a few query traces.

The query type is useful to have in query TRACEs. IWineD3DQueryImpl_GetDataSize isn't really a stub.
parent 44c1747f
...@@ -251,7 +251,7 @@ static HRESULT WINAPI IWineD3DQueryImpl_GetData(IWineD3DQuery* iface, void* pDa ...@@ -251,7 +251,7 @@ static HRESULT WINAPI IWineD3DQueryImpl_GetData(IWineD3DQuery* iface, void* pDa
/*dwGetDataFlags = 0 || D3DGETDATA_FLUSH /*dwGetDataFlags = 0 || D3DGETDATA_FLUSH
D3DGETDATA_FLUSH may return WINED3DERR_DEVICELOST if the device is lost D3DGETDATA_FLUSH may return WINED3DERR_DEVICELOST if the device is lost
*/ */
FIXME("(%p) : stub\n", This); FIXME("(%p) : type %#x, Partial stub\n", This, This->type);
return S_OK; /* S_OK if the query data is available*/ return S_OK; /* S_OK if the query data is available*/
} }
...@@ -259,7 +259,7 @@ static HRESULT WINAPI IWineD3DQueryImpl_GetData(IWineD3DQuery* iface, void* pDa ...@@ -259,7 +259,7 @@ static HRESULT WINAPI IWineD3DQueryImpl_GetData(IWineD3DQuery* iface, void* pDa
static DWORD WINAPI IWineD3DQueryImpl_GetDataSize(IWineD3DQuery* iface){ static DWORD WINAPI IWineD3DQueryImpl_GetDataSize(IWineD3DQuery* iface){
IWineD3DQueryImpl *This = (IWineD3DQueryImpl *)iface; IWineD3DQueryImpl *This = (IWineD3DQueryImpl *)iface;
int dataSize = 0; int dataSize = 0;
FIXME("(%p) : stub\n", This); TRACE("(%p) : type %#x\n", This, This->type);
switch(This->type){ switch(This->type){
case WINED3DQUERYTYPE_VCACHE: case WINED3DQUERYTYPE_VCACHE:
dataSize = sizeof(WINED3DDEVINFO_VCACHE); dataSize = sizeof(WINED3DDEVINFO_VCACHE);
......
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