aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 14ede4fdc1..e947d29b42 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -1940,11 +1940,10 @@ void GrGLCaps::initConfigTable(const GrContextOptions& contextOptions,
}
if (this->textureRedSupport()) {
- redInfo.fFlags = ConfigInfo::kTextureable_Flag;
+ redInfo.fFlags = ConfigInfo::kTextureable_Flag | allRenderFlags;
if (texelBufferSupport) {
redInfo.fFlags |= ConfigInfo::kCanUseWithTexelBuffer_Flag;
}
- redInfo.fFlags |= allRenderFlags;
fConfigTable[kAlpha_8_GrPixelConfig] = redInfo;
} else {