ddraw: Update the primary stateblock in update_clip_space().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b41af695c3
commit
1907d01fab
|
@ -38,6 +38,8 @@ static void update_clip_space(struct d3d_device *device,
|
||||||
D3DMATRIX projection;
|
D3DMATRIX projection;
|
||||||
|
|
||||||
multiply_matrix(&projection, &clip_space, &device->legacy_projection);
|
multiply_matrix(&projection, &clip_space, &device->legacy_projection);
|
||||||
|
wined3d_stateblock_set_transform(device->state,
|
||||||
|
WINED3D_TS_PROJECTION, (struct wined3d_matrix *)&projection);
|
||||||
wined3d_device_set_transform(device->wined3d_device,
|
wined3d_device_set_transform(device->wined3d_device,
|
||||||
WINED3D_TS_PROJECTION, (struct wined3d_matrix *)&projection);
|
WINED3D_TS_PROJECTION, (struct wined3d_matrix *)&projection);
|
||||||
device->legacy_clipspace = clip_space;
|
device->legacy_clipspace = clip_space;
|
||||||
|
|
Loading…
Reference in New Issue