diff options
author | 2016-01-15 11:36:18 -0800 | |
---|---|---|
committer | 2016-01-15 11:36:18 -0800 | |
commit | eed519e6a2d0e61b0733a388de9320af897ed197 (patch) | |
tree | 919a42adc1c681b637ea23ec89a59ee16b09f5b6 /src/gpu/gl/GrGLGpu.cpp | |
parent | 03108de163354fa574679ad153b58ce57126b2ba (diff) |
Differentiate maxColorSamples and maxStencilSamples in GrCaps
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1592803002
Review URL: https://codereview.chromium.org/1592803002
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 2 |
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)); } } |