Remove extraneous const qualifier.
Found by clang:
[293/898] CXX obj/src/gpu/gl/gr.GrGpuGL.o
../../src/gpu/gl/GrGpuGL.cpp:2031:1: warning: 'const' type qualifier on return
type has no effect [-Wignored-qualifiers]
const GrGLenum tile_to_gl_wrap(SkShader::TileMode tm) {
^~~~~
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Review URL: https://codereview.appspot.com/6492093/
git-svn-id: http://skia.googlecode.com/svn/trunk@5437 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index 74f9953..887ed76 100644
--- a/src/gpu/gl/GrGpuGL.cpp
+++ b/src/gpu/gl/GrGpuGL.cpp
@@ -2028,7 +2028,7 @@
reinterpret_cast<const GrGLint*>(swizzle)));
}
-const GrGLenum tile_to_gl_wrap(SkShader::TileMode tm) {
+inline GrGLenum tile_to_gl_wrap(SkShader::TileMode tm) {
static const GrGLenum gWrapModes[] = {
GR_GL_CLAMP_TO_EDGE,
GR_GL_REPEAT,