Commit f9c7fabe authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Don't skip setting clip planes if the view transform state is dirty.

More fallout from 2ddb6b66.
parent 52795554
......@@ -3680,7 +3680,7 @@ void clipplane(struct wined3d_context *context, const struct wined3d_state *stat
UINT index = state_id - STATE_CLIPPLANE(0);
GLdouble plane[4];
if (isStateDirty(context, STATE_TRANSFORM(WINED3D_TS_VIEW)) || index >= gl_info->limits.user_clip_distances)
if (index >= gl_info->limits.user_clip_distances)
return;
gl_info->gl_ops.gl.p_glMatrixMode(GL_MODELVIEW);
......
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