Chromium Code Reviews| Index: src/gpu/gl/GrGLCaps.cpp |
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
| index 63e215f58561ae4f6fecc538875933e6914e3e02..48c0c4ae3379681391102e288b390598146e2372 100644 |
| --- a/src/gpu/gl/GrGLCaps.cpp |
| +++ b/src/gpu/gl/GrGLCaps.cpp |
| @@ -542,7 +542,8 @@ void GrGLCaps::initConfigRenderableTable(const GrGLContextInfo& ctxInfo) { |
| fConfigRenderSupport[kRGBA_float_GrPixelConfig][kNo_MSAA] = true; |
| fConfigRenderSupport[kRGBA_float_GrPixelConfig][kYes_MSAA] = true; |
| } else { |
| - if (ctxInfo.hasExtension("GL_EXT_color_buffer_float")) { |
| + if (ctxInfo.hasExtension("GL_EXT_color_buffer_float") && |
| + ctxInfo.glslGeneration() >= k330_GrGLSLGeneration) { |
|
bsalomon
2015/06/17 20:10:46
need this for desktop too?
|
| fConfigRenderSupport[kRGBA_float_GrPixelConfig][kNo_MSAA] = true; |
| } else { |
| fConfigRenderSupport[kRGBA_float_GrPixelConfig][kNo_MSAA] = false; |