aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar elemental <mar.kazmierczak@gmail.com>2016-11-18 23:11:29 +0100
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-18 23:20:51 +0000
commita675910aea8168c7face9ce28cac838b20b604bb (patch)
tree951e3d8f222a45a4382461787029f89f1190b625
parent62a8aa398e3cdaac7f53c9fdd7510d52e20d49ae (diff)
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>
-rw-r--r--AUTHORS1
-rw-r--r--src/gpu/gl/GrGLCaps.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 4a0562fbc5..376ffd53ed 100644
--- 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>
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 5c0ce3f72f..9f24e5099d 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -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 {