From e29c9bc4da59a8e8db933e1a53a181e396f4706b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 9 Jun 2009 13:51:32 +0000 Subject: Fix for bug #18900: game engine lights in non-glsl mode did move anymore, missing matrix update. Also move some code to KX_LightObject to avoid duplication with player. --- source/gameengine/Ketsji/KX_Light.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji/KX_Light.h') diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h index 35f25515e3b..358c705080a 100644 --- a/source/gameengine/Ketsji/KX_Light.h +++ b/source/gameengine/Ketsji/KX_Light.h @@ -54,7 +54,10 @@ public: virtual CValue* GetReplica(); RAS_LightObject* GetLightData() { return &m_lightobj;} - /* GLSL shadow */ + /* OpenGL Light */ + bool ApplyLight(KX_Scene *kxscene, int oblayer, int slot); + + /* GLSL Light */ struct GPULamp *GetGPULamp(); bool HasShadowBuffer(); int GetShadowLayer(); -- cgit v1.2.3