[Bug 2082] DirectDraw games only showing black screen
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jan 13 00:14:57 CST 2014
https://bugs.winehq.org/show_bug.cgi?id=2082
--- Comment #141 from Ken Thomases <ken at codeweavers.com> ---
(In reply to comment #140)
> If we're reasonably sure that there's always a meaningful device window,
> then we can change the extension to just provide a function:
>
> BOOL wglEnableFullScreenWINE(HDC hdc, BOOL enable);
After thinking about it some more, I've changed my mind about this suggestion.
Such a function implies that the full-screen state can be toggled on or off at
any point during the DC's life. Really, we want it set immediately upon the DC
being obtained and cleared just before it's released. So, it should be part of
obtaining and releasing it.
My initial idea was a custom MakeCurrent, but I don't think that works well.
The DC needs to be "special" for operations that precede making the context
current.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list