diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index d5e50e31c..c2f32000a 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -131,7 +131,8 @@ bool Graphics::setMode(int width, int height, WindowFlags *flags) initializeContext(); // Make sure antialiasing works when set elsewhere - glEnable(GL_MULTISAMPLE); + if (GLEE_VERSION_1_3 || GLEE_ARB_multisample) + glEnable(GL_MULTISAMPLE); // Enable blending glEnable(GL_BLEND);