mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 02:50:53 +00:00
Added: default value for light 0 (thx valgrind)
This commit is contained in:
parent
fc1dbdde8e
commit
48e4a8b2cf
1 changed files with 2 additions and 0 deletions
|
@ -559,6 +559,8 @@ bool CDriverGL::setupDisplay()
|
||||||
// meaning that light direction is always (0,1,0) in eye-space
|
// meaning that light direction is always (0,1,0) in eye-space
|
||||||
// use enableLighting(0....), to get normal behaviour
|
// use enableLighting(0....), to get normal behaviour
|
||||||
_DriverGLStates.enableLight(0, true);
|
_DriverGLStates.enableLight(0, true);
|
||||||
|
_LightMode[0] = CLight::DirectionalLight;
|
||||||
|
_WorldLightDirection[0] = CVector::Null;
|
||||||
|
|
||||||
_Initialized = true;
|
_Initialized = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue