Commit eef74e5e authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

d3d8/tests: Avoid a shift overflow in render_state_test_data_init.

parent be17277b
......@@ -1346,7 +1346,7 @@ static void render_state_test_data_init(struct render_state_data *data)
data->states[idx++] = TRUE; /* ALPHABLENDENABLE */
data->states[idx++] = TRUE; /* FOGENABLE */
data->states[idx++] = TRUE; /* SPECULARENABLE */
data->states[idx++] = 255 << 31; /* FOGCOLOR */
data->states[idx++] = 1 << 31; /* FOGCOLOR */
data->states[idx++] = D3DFOG_EXP; /* FOGTABLEMODE */
data->states[idx++] = to_dword(0.1f); /* FOGSTART */
data->states[idx++] = to_dword(0.8f); /* FOGEND */
......
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