d3d9: Don't crash on NULL device_ptr.

This commit is contained in:
Paul Vriens 2005-12-19 10:00:08 +01:00 committed by Alexandre Julliard
parent 8651ceb18e
commit 636cb19ad0
1 changed files with 2 additions and 0 deletions

View File

@ -90,5 +90,7 @@ START_TEST(stateblock)
}
device_ptr = init_d3d9();
if (!device_ptr) return;
test_begin_end_state_block(device_ptr);
}