The Holy Grail - Wine 0.9 - thanks to all

H. Verbeet hverbeet at gmail.com
Sun Oct 30 04:17:37 CST 2005


On 10/30/05, Christian Costa <titan.costa at wanadoo.fr> wrote:
> IIRC, a patch fixing this problem was commited about 2 or 3 months ago.
This one? http://cvs.winehq.org/patch.py?id=18002

It doesn't touch CreateLight. The crash happens because of this check
in GL_IDirect3DImpl_3_2T_1T_CreateLight:

    if (fl == MAX_LIGHTS) {
        return DDERR_INVALIDPARAMS; /* No way to say 'max lights reached' ... */
    }

The application is sloppy for not checking the result of course, but
on Windows the call never fails, at least not for creating more lights
than the hardware supports.



More information about the wine-devel mailing list