Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 105549fc4ec50362e573b99201087bace607f110..34dde70a36ba8a829f06b89f2e65b1daa52da8d2 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -266,7 +266,7 @@ public: |
bool rgba8888PixelsOpsAreSlow() const { return fRGBA8888PixelsOpsAreSlow; } |
bool partialFBOReadIsSlow() const { return fPartialFBOReadIsSlow; } |
- GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fShaderCaps.get()); } |
+ const GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fShaderCaps.get()); } |
private: |
void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterface*); |