[Bug 11584] Recent patch breaks Call of Duty 4

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 24 08:39:05 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11584





--- Comment #25 from Stefan Dösinger <stefandoesinger at gmx.at>  2008-02-24 08:39:04 ---
The more deeply rooted problem is that PreLoad itself can call ActivateContext
to find a GL context. It should be filtered out, but its not really a clear
design.

I think what needs to be done (with the current scheme) is to set
lastActiveRenderTarget before calling this PreLoad call, to make sure that
there isn't an infinite recursion.

However, the PreLoad is wrong at the current place. FindContext must not do
anything that leads to opengl calls, because it's FindContexts job to find a GL
context to use, and it can't use it itself because it is activated later on.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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