d3d8: Use proper helper.

This commit is contained in:
Matteo Bruni 2012-10-10 18:25:57 +02:00 committed by Alexandre Julliard
parent 3d71c2d1ca
commit f90f895759
1 changed files with 1 additions and 1 deletions

View File

@ -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)