aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-01-15 11:36:18 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-15 11:36:18 -0800
commiteed519e6a2d0e61b0733a388de9320af897ed197 (patch)
tree919a42adc1c681b637ea23ec89a59ee16b09f5b6 /src/gpu/gl/GrGLGpu.cpp
parent03108de163354fa574679ad153b58ce57126b2ba (diff)
Differentiate maxColorSamples and maxStencilSamples in GrCaps
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 248a5dfbd2..185cdc26f3 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -341,7 +341,7 @@ void GrGLGpu::onResetContext(uint32_t resetBits) {
// "opacity", which can then be blended into the color buffer to accomplish antialiasing.
// Enable coverage modulation suitable for premultiplied alpha colors.
// This state has no effect when not rendering to a mixed sampled target.
- if (this->caps()->mixedSamplesSupport()) {
+ if (this->caps()->usesMixedSamples()) {
GL_CALL(CoverageModulation(GR_GL_RGBA));
}
}