Commit 92f9c58e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

d3d10/tests: Avoid implicit cast changing value.

parent 13b0f22c
...@@ -9147,7 +9147,7 @@ static void test_effect_value_expression(void) ...@@ -9147,7 +9147,7 @@ static void test_effect_value_expression(void)
ID3D10Device_OMGetBlendState(device, &blend_state, blend_factor, &sample_mask); ID3D10Device_OMGetBlendState(device, &blend_state, blend_factor, &sample_mask);
ok(!blend_state, "Unexpected blend state %p.\n", blend_state); ok(!blend_state, "Unexpected blend state %p.\n", blend_state);
for (idx = 0; idx < ARRAY_SIZE(blend_factor); ++idx) for (idx = 0; idx < ARRAY_SIZE(blend_factor); ++idx)
ok(blend_factor[idx] == UINT_MAX, "Got unexpected blend_factor[%u] %.8e.\n", idx, blend_factor[idx]); ok(blend_factor[idx] == (float)UINT_MAX, "Got unexpected blend_factor[%u] %.8e.\n", idx, blend_factor[idx]);
ok(!sample_mask, "Got unexpected sample_mask %#x.\n", sample_mask); ok(!sample_mask, "Got unexpected sample_mask %#x.\n", sample_mask);
/* movc */ /* movc */
......
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