aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-06-01 10:41:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-01 10:41:49 -0700
commit6df86409ca586c3cb34f616f03501bd96181f9e4 (patch)
treef1b8efc069946abb9b3f431cc6b45a31f610d83a /src/gpu/gl/GrGLCaps.cpp
parent0513c83e0f6bffa566c7d1b93fb2ba52bacc10fc (diff)
Revert "Revert of Move copy-surface-as-draw fallback to GrGLGpu. (patchset #12 id:220001 of https://codereview.chromium.org/1144433002/)"
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 99bc6da1fa..e1ad852428 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -918,6 +918,7 @@ GrGLSLCaps::GrGLSLCaps(const GrContextOptions& options,
void GrGLSLCaps::init(const GrGLContextInfo& ctxInfo,
const GrGLInterface* gli,
const GrGLCaps& glCaps) {
+ fGLSLGeneration = ctxInfo.glslGeneration();
GrGLStandard standard = ctxInfo.standard();
GrGLVersion version = ctxInfo.version();