From eed519e6a2d0e61b0733a388de9320af897ed197 Mon Sep 17 00:00:00 2001 From: egdaniel Date: Fri, 15 Jan 2016 11:36:18 -0800 Subject: 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 --- src/gpu/gl/GrGLGpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/gl/GrGLGpu.cpp') 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)); } } -- cgit v1.2.3