fix d3d11DrawContext and dxViewer to follow API changes