Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 0c6bed419c62805439247f6422f285f6400fd359..153be6a4be80d7ca8ced8257f9fda0cce022ea68 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -409,7 +409,7 @@ void GrGLCaps::initConfigRenderableTable(const GrGLContextInfo& ctxInfo) { |
// The GL_EXT_texture_format_BGRA8888 extension does not add BGRA to the list of |
// configs that are color-renderable and can be passed to glRenderBufferStorageMultisample. |
// Chromium may have an extension to allow BGRA renderbuffers to work on desktop platforms. |
- if (ctxInfo.extensions().has("GL_CHROMIUM_renderbuffer_format_BGRA8888")) { |
+ if (ctxInfo.hasExtension("GL_CHROMIUM_renderbuffer_format_BGRA8888")) { |
fConfigRenderSupport[kBGRA_8888_GrPixelConfig][kYes_MSAA] = true; |
} else { |
fConfigRenderSupport[kBGRA_8888_GrPixelConfig][kYes_MSAA] = |