Removing useless light update.
This commit is contained in:
parent
43b752ee63
commit
3a2156492e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user