I have made a scene with some objets. The first time I display it with color tracking and ligthing enable, it works perfectly. But when I made some transformations like (rotation), the programm crashs and I have a message error that says there has been an exception in OpenGl32.dll. Ok but when I do not use LIGHTNING the programm is able to do the transformations!?
Here is the function that initialize lighting and colour tracking :