(d3d_ctx.cpp) Use local data pointer instead of driver.video_data
where appropriate