http://bugs.winehq.org/show_bug.cgi?id=22197
--- Comment #11 from Henri Verbeet hverbeet@gmail.com 2010-04-06 08:52:22 --- (In reply to comment #7)
Hi Henri, i tested your patch, but i think it needs one another look inside.
I applied it to wine-1.1.42-30-ga7d000e and it began to work in full screen. So i switch to windowed mode by winecfg. Then run again a tried to resize the app's window in windowed mode. This worked before.
Since i did this resize in windowed mode, i see only black screen with music. Stopping, killing, winserver -k, nothing helps to see app's window again when i run it - it remains black :(
And it keeps vomiting following two lines:
fixme:d3d:context_apply_state Activating for CTXUSAGE_BLIT for an offscreen target with ORM_FBO. This should be avoided.
err:d3d:context_apply_draw_buffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glDrawBuffers() @ context.c / 1890
Yeah, I noticed that as well, but I don't think it's directly related to this regression. Applying this patch on top of 78166b0b23a1c0ce81f19c7c85dc18a0d672425d gives essentially the same behaviour as reverting that patch (for this application), including the shifted window contents, etc. If that worked in 1.1.40 or before then that's an earlier, separate regression.
Applying this patch on top of current git makes the initial contents visible, but resizing is broken in a different way. I.e., you get the black screen and error messages in the terminal. That's a later regression, and you'll have to apply the patch for this bug while bisecting that one to track it down.