Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index fdf6cacc08bb41dccab4cb467aabc857a08823fd..4a62c5acaab1ce370545f9b11d991153260d0e3f 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -531,6 +531,14 @@ void GrGLCaps::initConfigTexturableTable(const GrGLContextInfo& ctxInfo, const G |
fConfigTextureSupport[kLATC_GrPixelConfig] = hasLATC; |
fLATCAlias = alias; |
+ |
+ // Check for R11_EAC |
+ if (kGL_GrGLStandard == standard) { |
+ fConfigTextureSupport[kR11_EAC_GrPixelConfig] = |
+ version >= GR_GL_VER(4, 3) || ctxInfo.hasExtension("GL_ARB_ES3_compatibility"); |
+ } else { |
+ fConfigTextureSupport[kR11_EAC_GrPixelConfig] = version >= GR_GL_VER(3, 0); |
+ } |
} |
bool GrGLCaps::readPixelsSupported(const GrGLInterface* intf, |