diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index c32ae4620..79c536b79 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -152,7 +152,7 @@ namespace graphics StringMap::Entry Graphics::supportEntries[] = { { "canvas", Graphics::SUPPORT_CANVAS }, - { "pixeleffects", Graphics::SUPPORT_PIXELEFFECTS }, + { "pixeleffect", Graphics::SUPPORT_PIXELEFFECT }, }; StringMap Graphics::support(Graphics::supportEntries, sizeof(Graphics::supportEntries)); diff --git a/src/modules/graphics/Graphics.h b/src/modules/graphics/Graphics.h index 88b40ad38..0875f24a1 100644 --- a/src/modules/graphics/Graphics.h +++ b/src/modules/graphics/Graphics.h @@ -81,7 +81,7 @@ namespace graphics enum Support { SUPPORT_CANVAS = 1, - SUPPORT_PIXELEFFECTS, + SUPPORT_PIXELEFFECT, SUPPORT_MAX_ENUM }; diff --git a/src/modules/graphics/opengl/wrap_Graphics.cpp b/src/modules/graphics/opengl/wrap_Graphics.cpp index 6867f6a6d..60ed515c8 100644 --- a/src/modules/graphics/opengl/wrap_Graphics.cpp +++ b/src/modules/graphics/opengl/wrap_Graphics.cpp @@ -750,7 +750,7 @@ namespace opengl if (!Canvas::isSupported()) supported = false; break; - case Graphics::SUPPORT_PIXELEFFECTS: + case Graphics::SUPPORT_PIXELEFFECT: if (!PixelEffect::isSupported()) supported = false; break;