diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index 540a7c693..c32ae4620 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -151,7 +151,7 @@ namespace graphics StringMap::Entry Graphics::supportEntries[] = { - { "framebuffers", Graphics::SUPPORT_FRAMEBUFFERS }, + { "canvas", Graphics::SUPPORT_CANVAS }, { "pixeleffects", Graphics::SUPPORT_PIXELEFFECTS }, }; diff --git a/src/modules/graphics/Graphics.h b/src/modules/graphics/Graphics.h index e48edaca1..88b40ad38 100644 --- a/src/modules/graphics/Graphics.h +++ b/src/modules/graphics/Graphics.h @@ -80,7 +80,7 @@ namespace graphics enum Support { - SUPPORT_FRAMEBUFFERS = 1, + SUPPORT_CANVAS = 1, SUPPORT_PIXELEFFECTS, SUPPORT_MAX_ENUM }; diff --git a/src/modules/graphics/opengl/wrap_Graphics.cpp b/src/modules/graphics/opengl/wrap_Graphics.cpp index dac9e1213..6867f6a6d 100644 --- a/src/modules/graphics/opengl/wrap_Graphics.cpp +++ b/src/modules/graphics/opengl/wrap_Graphics.cpp @@ -746,7 +746,7 @@ namespace opengl supported = false; switch(support) { - case Graphics::SUPPORT_FRAMEBUFFERS: + case Graphics::SUPPORT_CANVAS: if (!Canvas::isSupported()) supported = false; break;