On 10/30/05, Christian Costa <[EMAIL PROTECTED]> 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.