Enabled multisampling for the window.

This commit is contained in:
Faerbit 2015-03-01 16:43:03 +01:00
parent 47bcf0bf1c
commit b9bdb594f0

View File

@ -34,6 +34,7 @@ void Graphics::init(Level* level) {
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
glEnable(GL_MULTISAMPLE);
// update lights on creation
lastUpdate = -lightUpdateDelay;