Commit f90f8957 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3d8: Use proper helper.

parent 3d71c2d1
......@@ -168,7 +168,7 @@ static void check_mipmap_levels(IDirect3DDevice8 *device, UINT width, UINT heigh
} else
trace("CreateTexture failed: %#08x\n", hr);
if (texture) IDirect3DDevice8_Release( texture );
if (texture) IDirect3DBaseTexture8_Release( texture );
}
static void test_mipmap_levels(void)
......
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