On 30/11/2007, Stefan Dösinger stefan@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.
I thought that at least for ddraw I created a test for this back when I started working on wine, but perhaps I never sent it in. :-/
Am Freitag, 30. November 2007 09:49:06 schrieb H. Verbeet:
On 30/11/2007, Stefan Dösinger stefan@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.