mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fixed an OpenGL error when MSAA isn't supported
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user