ddraw: Enable WINED3D_RS_NORMALIZENORMALS on d3d versions older than d3d7.
This commit is contained in:
parent
382c8fde08
commit
fbffd8bae4
|
@ -6839,6 +6839,8 @@ static HRESULT d3d_device_init(struct d3d_device *device, struct ddraw *ddraw,
|
|||
wined3d_device_set_render_state(ddraw->wined3d_device, WINED3D_RS_COLORKEYENABLE, TRUE);
|
||||
else if (version == 2)
|
||||
wined3d_device_set_render_state(ddraw->wined3d_device, WINED3D_RS_SPECULARENABLE, TRUE);
|
||||
if (version < 7)
|
||||
wined3d_device_set_render_state(ddraw->wined3d_device, WINED3D_RS_NORMALIZENORMALS, TRUE);
|
||||
|
||||
return D3D_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue