wined3d: Decrement the refcount in wined3d_query_decref().

This commit is contained in:
Henri Verbeet 2011-04-13 19:14:34 +02:00 committed by Alexandre Julliard
parent c1575cb65c
commit be378c6529

View File

@ -241,7 +241,7 @@ ULONG CDECL wined3d_query_incref(struct wined3d_query *query)
ULONG CDECL wined3d_query_decref(struct wined3d_query *query) ULONG CDECL wined3d_query_decref(struct wined3d_query *query)
{ {
ULONG refcount = InterlockedIncrement(&query->ref); ULONG refcount = InterlockedDecrement(&query->ref);
TRACE("%p decreasing refcount to %u.\n", query, refcount); TRACE("%p decreasing refcount to %u.\n", query, refcount);