[Bug 3634] Direct3d Wrong Surface Type for Locking