wined3d: Decrement the refcount in wined3d_query_decref().
This commit is contained in:
parent
c1575cb65c
commit
be378c6529
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue