wined3d: Optimize bool and int vs constants.
3 files changed