Chromium Code Reviews| Index: src/gpu/gl/GrGLCaps.cpp |
| =================================================================== |
| --- src/gpu/gl/GrGLCaps.cpp (revision 10811) |
| +++ src/gpu/gl/GrGLCaps.cpp (working copy) |
| @@ -138,7 +138,7 @@ |
| fTextureSwizzleSupport = version >= GR_GL_VER(3,3) || |
| ctxInfo.hasExtension("GL_ARB_texture_swizzle"); |
| } else { |
| - fTextureSwizzleSupport = false; |
| + fTextureSwizzleSupport = version >= GR_GL_VER(3,0); |
| } |
| if (kDesktop_GrGLBinding == binding) { |