Stefan Dösinger : wined3d: Read the framebuffer size from the surface, not the window.