[PATCH 1/1] wined3d: Clamp the bound buffer range to the buffer size.