Fix typo in GrGLCaps
authorelemental <mar.kazmierczak@gmail.com>
Fri, 18 Nov 2016 22:11:29 +0000 (23:11 +0100)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 18 Nov 2016 23:20:51 +0000 (23:20 +0000)
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>
AUTHORS
src/gpu/gl/GrGLCaps.cpp

diff --git a/AUTHORS b/AUTHORS
index 4a0562f..376ffd5 100644 (file)
--- a/AUTHORS
+++ b/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>
index 5c0ce3f..9f24e50 100644 (file)
@@ -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 {