From cbe2d12db741db4524024fa40e37817e495abb29 Mon Sep 17 00:00:00 2001 From: vrld Date: Fri, 12 Aug 2011 15:11:04 +0200 Subject: [PATCH] Use singular in l.g.isSupported() --- src/modules/graphics/Graphics.cpp | 2 +- src/modules/graphics/Graphics.h | 2 +- src/modules/graphics/opengl/wrap_Graphics.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;