Commit 636cb19a authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

d3d9: Don't crash on NULL device_ptr.

parent 8651ceb1
...@@ -90,5 +90,7 @@ START_TEST(stateblock) ...@@ -90,5 +90,7 @@ START_TEST(stateblock)
} }
device_ptr = init_d3d9(); device_ptr = init_d3d9();
if (!device_ptr) return;
test_begin_end_state_block(device_ptr); test_begin_end_state_block(device_ptr);
} }
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