Module: wine Branch: master Commit: f9c7fabed6b6950491cda400580bc40ce5291da9 URL: https://gitlab.winehq.org/wine/wine/-/commit/f9c7fabed6b6950491cda400580bc40...
Author: Matteo Bruni mbruni@codeweavers.com Date: Thu Jul 13 04:31:50 2023 +0200
wined3d: Don't skip setting clip planes if the view transform state is dirty.
More fallout from 2ddb6b66a7cda0bf6aaddc0c6899e35cc92ceee9.
---
dlls/wined3d/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 6eaec9acb55..30b0adaa135 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -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);