wined3d: Return hr result in wined3d_event_query_create.
Sebastian Lackner
sebastian at fds-team.de
Wed Jul 12 08:03:02 CDT 2017
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
Currently the hr variable is unused. This change is related to commit
c45b908abc0c4d163dbff0e4e8456c155286f04b.
dlls/wined3d/query.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 7d726d08832..f1e780396bc 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -945,7 +945,7 @@ static HRESULT wined3d_event_query_create(struct wined3d_device *device,
{
WARN("Event queries not supported.\n");
HeapFree(GetProcessHeap(), 0, object);
- return WINED3DERR_NOTAVAILABLE;
+ return hr;
}
wined3d_query_init(&object->query, device, type, &object->signalled,
--
2.13.1
More information about the wine-patches
mailing list