mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Removed the 'multicanvas' GraphicsFeature constant since it's redundant (the love.graphics.getSystemLimits().multicanvas number can be used instead.)
This commit is contained in:
@@ -181,7 +181,6 @@ StringMap<Graphics::LineJoin, Graphics::LINE_JOIN_MAX_ENUM> Graphics::lineJoins(
|
||||
|
||||
StringMap<Graphics::Support, Graphics::SUPPORT_MAX_ENUM>::Entry Graphics::supportEntries[] =
|
||||
{
|
||||
{ "multicanvas", SUPPORT_MULTI_CANVAS },
|
||||
{ "multicanvasformats", SUPPORT_MULTI_CANVAS_FORMATS },
|
||||
};
|
||||
|
||||
|
||||
@@ -98,7 +98,6 @@ public:
|
||||
|
||||
enum Support
|
||||
{
|
||||
SUPPORT_MULTI_CANVAS,
|
||||
SUPPORT_MULTI_CANVAS_FORMATS,
|
||||
SUPPORT_MAX_ENUM
|
||||
};
|
||||
|
||||
@@ -1502,8 +1502,6 @@ bool Graphics::isSupported(Support feature) const
|
||||
{
|
||||
switch (feature)
|
||||
{
|
||||
case SUPPORT_MULTI_CANVAS:
|
||||
return Canvas::isMultiCanvasSupported();
|
||||
case SUPPORT_MULTI_CANVAS_FORMATS:
|
||||
return Canvas::isMultiFormatMultiCanvasSupported();
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user