From a81621df8264c7750e3d422abc8954b6258dd38f Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 14 Nov 2015 19:33:56 -0400 Subject: [PATCH] Removed the 'multicanvas' GraphicsFeature constant since it's redundant (the love.graphics.getSystemLimits().multicanvas number can be used instead.) --- src/modules/graphics/Graphics.cpp | 1 - src/modules/graphics/Graphics.h | 1 - src/modules/graphics/opengl/Graphics.cpp | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index 245f82600..5b43b8bbd 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -181,7 +181,6 @@ StringMap Graphics::lineJoins( StringMap::Entry Graphics::supportEntries[] = { - { "multicanvas", SUPPORT_MULTI_CANVAS }, { "multicanvasformats", SUPPORT_MULTI_CANVAS_FORMATS }, }; diff --git a/src/modules/graphics/Graphics.h b/src/modules/graphics/Graphics.h index 60ec7d514..81326da4c 100644 --- a/src/modules/graphics/Graphics.h +++ b/src/modules/graphics/Graphics.h @@ -98,7 +98,6 @@ public: enum Support { - SUPPORT_MULTI_CANVAS, SUPPORT_MULTI_CANVAS_FORMATS, SUPPORT_MAX_ENUM }; diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index 3a762cfc8..a3dc9c480 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -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: