mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +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();
|
initializeContext();
|
||||||
|
|
||||||
// Make sure antialiasing works when set elsewhere
|
// Make sure antialiasing works when set elsewhere
|
||||||
glEnable(GL_MULTISAMPLE);
|
if (GLEE_VERSION_1_3 || GLEE_ARB_multisample)
|
||||||
|
glEnable(GL_MULTISAMPLE);
|
||||||
|
|
||||||
// Enable blending
|
// Enable blending
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
|
|||||||
Reference in New Issue
Block a user