Debug output for display modes in d3d9
Resize d3d9 on window resize.