dlls/wined3d/query.c: Use FIXME_ONCE for quieter reports.
Max TenEyck Woodbury
max at mtew.isa-geek.net
Wed Jul 14 15:08:14 CDT 2010
---
dlls/wined3d/query.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index b3c77ea..e94915d 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -342,7 +342,7 @@ static HRESULT WINAPI IWineD3DOcclusionQueryImpl_GetData(IWineD3DQuery* iface,
if (query->context->tid != GetCurrentThreadId())
{
- FIXME("%p Wrong thread, returning 1.\n", This);
+ FIXME_ONCE("%p Wrong thread, returning 1.\n", This);
*data = 1;
return S_OK;
}
@@ -407,7 +407,7 @@ static HRESULT WINAPI IWineD3DEventQueryImpl_GetData(IWineD3DQuery* iface, void
break;
case WINED3D_EVENT_QUERY_WRONG_THREAD:
- FIXME("(%p) Wrong thread, reporting GPU idle.\n", This);
+ FIXME_ONCE("(%p) Wrong thread, reporting GPU idle.\n", This);
*data = TRUE;
break;
@@ -481,7 +481,7 @@ static HRESULT WINAPI IWineD3DOcclusionQueryImpl_Issue(IWineD3DQuery* iface, D
{
if (query->context->tid != GetCurrentThreadId())
{
- FIXME("Wrong thread, can't restart query.\n");
+ FIXME_ONCE("Wrong thread, can't restart query.\n");
context_free_occlusion_query(query);
context = context_acquire(This->device, NULL);
@@ -520,7 +520,7 @@ static HRESULT WINAPI IWineD3DOcclusionQueryImpl_Issue(IWineD3DQuery* iface, D
{
if (query->context->tid != GetCurrentThreadId())
{
- FIXME("Wrong thread, can't end query.\n");
+ FIXME_ONCE("Wrong thread, can't end query.\n");
}
else
{
@@ -536,7 +536,7 @@ static HRESULT WINAPI IWineD3DOcclusionQueryImpl_Issue(IWineD3DQuery* iface, D
}
}
} else {
- FIXME("(%p) : Occlusion queries not supported\n", This);
+ FIXME_ONCE("(%p) : Occlusion queries not supported\n", This);
}
if(dwIssueFlags & WINED3DISSUE_BEGIN) {
@@ -607,7 +607,7 @@ HRESULT query_init(IWineD3DQueryImpl *query, IWineD3DDeviceImpl *device,
* menu correctly otherwise. Pretend to support it, faking
* this query does not do much harm except potentially
* lowering performance. */
- FIXME("Event query: Unimplemented, but pretending to be supported.\n");
+ FIXME_ONCE("Event query: Unimplemented, but pretending to be supported.\n");
}
query->lpVtbl = &IWineD3DEventQuery_Vtbl;
query->extendedData = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(struct wined3d_event_query));
--
1.7.1.1
More information about the wine-patches
mailing list