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>
This commit is contained in:
Greg Daniel 2017-11-15 15:04:22 -05:00 committed by Skia Commit-Bot
parent 70fb479ae6
commit b8e4c44f5f

View File

@ -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 {