Rico Schüller : wined3d: Add argument check for Type to Get/SetTextureStageState().