mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +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[] =
|
StringMap<Graphics::Support, Graphics::SUPPORT_MAX_ENUM>::Entry Graphics::supportEntries[] =
|
||||||
{
|
{
|
||||||
{ "multicanvas", SUPPORT_MULTI_CANVAS },
|
|
||||||
{ "multicanvasformats", SUPPORT_MULTI_CANVAS_FORMATS },
|
{ "multicanvasformats", SUPPORT_MULTI_CANVAS_FORMATS },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ public:
|
|||||||
|
|
||||||
enum Support
|
enum Support
|
||||||
{
|
{
|
||||||
SUPPORT_MULTI_CANVAS,
|
|
||||||
SUPPORT_MULTI_CANVAS_FORMATS,
|
SUPPORT_MULTI_CANVAS_FORMATS,
|
||||||
SUPPORT_MAX_ENUM
|
SUPPORT_MAX_ENUM
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1502,8 +1502,6 @@ bool Graphics::isSupported(Support feature) const
|
|||||||
{
|
{
|
||||||
switch (feature)
|
switch (feature)
|
||||||
{
|
{
|
||||||
case SUPPORT_MULTI_CANVAS:
|
|
||||||
return Canvas::isMultiCanvasSupported();
|
|
||||||
case SUPPORT_MULTI_CANVAS_FORMATS:
|
case SUPPORT_MULTI_CANVAS_FORMATS:
|
||||||
return Canvas::isMultiFormatMultiCanvasSupported();
|
return Canvas::isMultiFormatMultiCanvasSupported();
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user