[Bug 28958] Rayman 2 demo crashes on screen resolution change

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 3 14:34:02 CDT 2011


--- Comment #6 from Matteo Bruni <matteo.mystral at gmail.com> 2011-11-03 14:34:02 CDT ---
Created attachment 37275
  --> http://bugs.winehq.org/attachment.cgi?id=37275
Store gl_info into the wined3d_context

I debugged this one for a while. Apparently we get the crashes because when we
destroy the wined3d context, the wined3d_gl_info they point to may be gone.

This patch keeps a separate copy of gl_info into each context. It should fix
the bug, but as you can see the patch is quite "invasive", not sure about the

This issue is valid and may affect other applications too, but notice that this
demo is buggy with regard to resolution changes: it leaks memory each time you
change resolution and even the included readme.txt admits that changing
resolution in the menus can hang the game...

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