Commit 1b860b11 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Cast clipplane doubles to floats.

parent 20b147bf
...@@ -1055,10 +1055,10 @@ HRESULT CDECL wined3d_stateblock_apply(const struct wined3d_stateblock *stateblo ...@@ -1055,10 +1055,10 @@ HRESULT CDECL wined3d_stateblock_apply(const struct wined3d_stateblock *stateblo
if (!(map & 1)) continue; if (!(map & 1)) continue;
clip[0] = stateblock->state.clip_planes[i][0]; clip[0] = (float) stateblock->state.clip_planes[i][0];
clip[1] = stateblock->state.clip_planes[i][1]; clip[1] = (float) stateblock->state.clip_planes[i][1];
clip[2] = stateblock->state.clip_planes[i][2]; clip[2] = (float) stateblock->state.clip_planes[i][2];
clip[3] = stateblock->state.clip_planes[i][3]; clip[3] = (float) stateblock->state.clip_planes[i][3];
IWineD3DDevice_SetClipPlane(device, i, clip); IWineD3DDevice_SetClipPlane(device, i, clip);
} }
......
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