Commit f2d7cbc9 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

d3d9: Remove variable hr which is not really used from resource_test_cleanup.

parent 414b5069
...@@ -2027,7 +2027,6 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t ...@@ -2027,7 +2027,6 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t
struct resource_test_context *ctx = test->test_context; struct resource_test_context *ctx = test->test_context;
const struct resource_test_arg *arg = test->test_arg; const struct resource_test_arg *arg = test->test_arg;
unsigned int i; unsigned int i;
HRESULT hr;
resource_apply_data(device, test, &ctx->default_data); resource_apply_data(device, test, &ctx->default_data);
...@@ -2042,7 +2041,7 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t ...@@ -2042,7 +2041,7 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t
for (i = 0; i < arg->tex_count; ++i) for (i = 0; i < arg->tex_count; ++i)
{ {
hr = IDirect3DBaseTexture9_Release(ctx->test_data_all.tex[i]); IDirect3DBaseTexture9_Release(ctx->test_data_all.tex[i]);
} }
HeapFree(GetProcessHeap(), 0, ctx->default_data.vb); HeapFree(GetProcessHeap(), 0, ctx->default_data.vb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment