diff options
author | 2015-10-01 09:43:39 -0700 | |
---|---|---|
committer | 2015-10-01 09:43:39 -0700 | |
commit | a1ebeb25e9acfcd801e089e063311d716b83b8a5 (patch) | |
tree | 1ac61bbbb5700af13c511b3525822d9d602968ea /bench/GLBench.h | |
parent | aa48d36397f8464dafd38c3f42fbdfb1419e8778 (diff) |
Remove const from `const int loops`.
This drives me nuts, and prevents `while (loops --> 0)`.
BUG=skia:
Review URL: https://codereview.chromium.org/1379923005
Diffstat (limited to 'bench/GLBench.h')
-rw-r--r-- | bench/GLBench.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/GLBench.h b/bench/GLBench.h index dde0358abc..9033b12e55 100644 --- a/bench/GLBench.h +++ b/bench/GLBench.h @@ -33,8 +33,8 @@ protected: virtual void setup(const GrGLContext*)=0; void onPostDraw(SkCanvas* canvas) override; virtual void teardown(const GrGLInterface*)=0; - void onDraw(const int loops, SkCanvas*) override; - virtual void glDraw(const int loops, const GrGLContext*)=0; + void onDraw(int loops, SkCanvas*) override; + virtual void glDraw(int loops, const GrGLContext*)=0; static GrGLuint CompileShader(const GrGLInterface*, const char* shaderSrc, GrGLenum type); static GrGLuint CreateProgram(const GrGLInterface*, const char* vshader, const char* fshader); static GrGLuint SetupFramebuffer(const GrGLInterface*, int screenWidth, int screenHeight); |