aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-11-15 15:04:22 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-15 20:29:22 +0000
commitb8e4c44f5ff17dcb0d5a0a11b41bc04c57b1d8e4 (patch)
treed5a3e9ee3e9664cdeaa6c351d8c58b81148a7f60 /src/gpu/gl
parent70fb479ae6a311385be576f9b006fc5dc1ecdfd9 (diff)
Nit clean up to add private GrPixelConfig CL
Bug: skia: Change-Id: Iaf793e79458ec27f81c48ec0a7d529b9127bd839 Reviewed-on: https://skia-review.googlesource.com/72061 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/gl')
-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 {