[Bug 10832] Dark Age of Camelot has page fault exception if pixelshaders are enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 1 04:59:09 CST 2012


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

Tom <tmurphy at pertho.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tmurphy at pertho.net

--- Comment #17 from Tom <tmurphy at pertho.net> 2012-03-01 04:59:09 CST ---
I can confirm this bug is still in Wine 1.4 RC5.

The new line to patch in dlls/wined3d/directx.c line 2613 :

    if (gl_info->supported[ARB_VERTEX_BLEND])
    {
        glGetIntegerv(GL_MAX_VERTEX_UNITS_ARB, &gl_max);
        gl_info->limits.blends = gl_max;
        TRACE_(d3d_caps)("Max blends: %u.\n", gl_info->limits.blends);
    }
+   gl_info->limits.blends = 4;  /* Dark Age of Camelot hack */
    if (gl_info->supported[EXT_TEXTURE3D])
    {
        glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE_EXT, &gl_max);
        gl_info->limits.texture3d_size = gl_max;
        TRACE_(d3d_caps)("Max texture3D size: %d.\n",
gl_info->limits.texture3d_size);
    }

Is it possible to make this some sort of registry key on a per-application
basis?
Right now, I'm running two copies of WINE. The main version for like Starcraft
II and other apps, and this specially hacked one for Dark Age of Camelot.

Being able to have this as a reg key that only works for specific apps would
solve this problem.

-- 
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