Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index df3a5e66846f0ab070d7a4ce32a20987a86418aa..f4eda16bfdddddc8c7b43c624a211f56b315fd63 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -2101,7 +2101,7 @@ void GrGLGpu::flushStencil(const GrStencilSettings& stencilSettings) { |
void GrGLGpu::flushHWAAState(GrRenderTarget* rt, bool useHWAA) { |
SkASSERT(!useHWAA || rt->isMultisampled()); |
- if (kGL_GrGLStandard == this->glStandard()) { |
+ if (this->glCaps().multisampleDisableSupport()) { |
if (useHWAA) { |
if (kYes_TriState != fMSAAEnabled) { |
GL_CALL(Enable(GR_GL_MULTISAMPLE)); |