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
This commit is contained in:
bsalomon@google.com 2012-09-07 16:52:24 +00:00
parent f5ad077741
commit 6c76d2410a

View File

@ -2028,7 +2028,7 @@ void set_tex_swizzle(GrGLenum swizzle[4], const GrGLInterface* gl) {
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,