Render to fbo when the size mismatches at creation time.
commit740e2d403edc46529c2475d50a9ceab7c0c77f0c
authorStefan Dösinger <stefan@codeweavers.com>
Sun, 6 Dec 2009 17:08:39 +0000 (6 18:08 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Dec 2009 13:33:56 +0000 (7 14:33 +0100)
tree188c4f1d22671d6b79c2e0654f154b40bfb7ef89
parent548b0bcda5690f653f2c47e204cd19284eb352ab
Render to fbo when the size mismatches at creation time.

This is needed because the window(and thus the GL drawable) might be
smaller than the D3D backbuffer. If we waited for the FBO switch until
Present is called we'd lose data in the first frame.
dlls/wined3d/device.c