Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index 06954dc1bbf4fd14e1f423d575464950c1090c60..61b39079b0cbd71a0499e577aabba76942516e31 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -276,7 +276,7 @@ public: |
int width() const { return fRenderTarget->width(); } |
int height() const { return fRenderTarget->height(); } |
int numColorSamples() const { return fRenderTarget->numColorSamples(); } |
- bool allowSRGBInputs() const { return fSurfaceProps.allowSRGBInputs(); } |
+ bool isGammaCorrect() const { return fSurfaceProps.isGammaCorrect(); } |
GrRenderTarget* accessRenderTarget() { return fRenderTarget; } |