wined3d: Use a format flag instead of a floating point comparison to determine if...