wined3d: Improve a few query traces.

The query type is useful to have in query TRACEs.
IWineD3DQueryImpl_GetDataSize isn't really a stub.
This commit is contained in:
H. Verbeet 2006-08-07 19:23:49 +02:00 committed by Alexandre Julliard
parent 44c1747f71
commit 008c23d06a
1 changed files with 2 additions and 2 deletions

View File

@ -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
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);