d3d9: Fix crash in texture test.

This commit is contained in:
Ulrich Czekalla 2007-10-06 10:38:36 -04:00 committed by Alexandre Julliard
parent 81c4b91cb2
commit 700c602eb6
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ static void test_mipmap_gen(IDirect3DDevice9 *device)
if(FAILED(hr))
{
skip("No mipmap generation support\n");
return;
}
hr = IDirect3DDevice9_CreateTexture(device, 64, 64, 0, D3DUSAGE_AUTOGENMIPMAP,