Fixed an OpenGL error when MSAA isn't supported

This commit is contained in:
Alex Szpakowski
2013-04-09 10:57:43 -03:00
parent 85ee87c12e
commit 1b80853118
+2 -1
View File
@@ -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);