Józef Kucia : d3d8: Clamp vertex buffer upload range to buffer size.