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);
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
glEnable(GL_MULTISAMPLE);
// update lights on creation
lastLightUpdate = -lightUpdateDelay;
lastLightUpdate = 0;
lastWindUpdate = - windUpdateDelay;
windTarget = 0.0f;