From b8e4c44f5ff17dcb0d5a0a11b41bc04c57b1d8e4 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Wed, 15 Nov 2017 15:04:22 -0500 Subject: 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 Commit-Queue: Greg Daniel --- src/gpu/gl/GrGLCaps.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gpu') 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 { -- cgit v1.2.3