Commit 10fc362d authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

d3d10/tests: Avoid preprocessor check to ensure it compiles.

parent e32237d3
......@@ -2679,11 +2679,12 @@ static void test_effect_local_shader(ID3D10Device *device)
p = null_technique->lpVtbl->GetPassByName(null_technique, "invalid");
ok(null_pass == p, "GetPassByName got %p, expected %p\n", p, null_pass);
#if 0
if (0)
{
/* This crashes on W7/DX10, if t is a valid technique and name=NULL. */
p = t->lpVtbl->GetPassByName(t, NULL);
ok(null_pass == p, "GetPassByName got %p, expected %p\n", p, null_pass);
#endif
}
p = t->lpVtbl->GetPassByIndex(t, 0xffffffff);
ok(null_pass == p, "GetPassByIndex got %p, expected %p\n", p, null_pass);
......
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