Removing useless light update.

This commit is contained in:
Faerbit 2015-03-18 08:58:24 +01:00
parent 43b752ee63
commit 3a2156492e

View File

@ -48,10 +48,8 @@ void Graphics::init(Level* level) {
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS); glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
glEnable(GL_MULTISAMPLE); glEnable(GL_MULTISAMPLE);
// update lights on creation lastLightUpdate = 0;
lastLightUpdate = -lightUpdateDelay;
lastWindUpdate = - windUpdateDelay; lastWindUpdate = - windUpdateDelay;
windTarget = 0.0f; windTarget = 0.0f;