Fix typo in GrGLCaps
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5040 Change-Id: I23a9066de8c96378a1bd8596227e487cdd93669f Reviewed-on: https://skia-review.googlesource.com/5040 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
62a8aa398e
commit
a675910aea
1
AUTHORS
1
AUTHORS
@ -25,6 +25,7 @@ Ion Rosca <rosca@adobe.com>
|
||||
Jacek Caban <cjacek@gmail.com>
|
||||
Jeff Muizelaar <jmuizelaar@mozilla.com>
|
||||
Lee Salzman <lsalzman@mozilla.com>
|
||||
Marcin Kazmierczak <mar.kazmierczak@gmail.com>
|
||||
MIPS <*@imgtec.com>
|
||||
NVIDIA <*@nvidia.com>
|
||||
Opera Software ASA <*@opera.com>
|
||||
|
@ -1656,7 +1656,7 @@ void GrGLCaps::initConfigTable(const GrGLContextInfo& ctxInfo, const GrGLInterfa
|
||||
fConfigTable[kRGB_565_GrPixelConfig].fFormatType = kNormalizedFixedPoint_FormatType;
|
||||
fConfigTable[kRGB_565_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag;
|
||||
if (kGL_GrGLStandard == standard) {
|
||||
if (version >= GR_GL_VER(4, 2) || ctxInfo.hasExtension("GL_ES2_compatibility")) {
|
||||
if (version >= GR_GL_VER(4, 2) || ctxInfo.hasExtension("GL_ARB_ES2_compatibility")) {
|
||||
fConfigTable[kRGB_565_GrPixelConfig].fFlags |= allRenderFlags;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user