[4/4] WineD3D: Enabling too many lights is silently ignored

Stefan Dösinger stefan at codeweavers.com
Fri Nov 30 07:26:43 CST 2007


Am Freitag, 30. November 2007 09:49:06 schrieb H. Verbeet:
> On 30/11/2007, Stefan Dösinger <stefan at codeweavers.com> wrote:
>
> But you're not creating the lights first with SetLight(). IIRC you can
> create lots of lights with SetLight(), but only enable MaxActiveLights
> at the same time with LightEnable(). I guess calling LightEnable on a
> light that isn't created first is simply ignored.
LightEnable() on a light that doesn't exist creates a new light.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071130/1821166b/attachment.pgp 


More information about the wine-devel mailing list