Stefan Dösinger : wined3d: Add double to float conversion casts in device.c.