Józef Kucia : d3d10core/tests: Introduce helper function to set viewport.