aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagefromyuvtextures.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-06-25 18:59:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-25 18:59:32 -0700
commit1852ec2b46a2a0efbb3550ff4d8b640f56a810e9 (patch)
tree47ed7ec7b88b354b185204e21e7ca18b228f6a6a /gm/imagefromyuvtextures.cpp
parentca10953d9ca38a5486c11cc50ac3fd27d4281e12 (diff)
Revert of Return GrGLContext from GrTestTarget (patchset #3 id:40001 of https://codereview.chromium.org/1207393002/)
Reason for revert: speculative revert to unblock DEPS roll (layout-tests) Original issue's description: > Return GrGLContext from GrTestTarget > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/b6d93ea428ca5d13641c35faca7d0380980a3a17 TBR=bsalomon@google.com,joshualitt@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1211123004
Diffstat (limited to 'gm/imagefromyuvtextures.cpp')
-rw-r--r--gm/imagefromyuvtextures.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp
index b39a4dceab..b618abe2a4 100644
--- a/gm/imagefromyuvtextures.cpp
+++ b/gm/imagefromyuvtextures.cpp
@@ -105,7 +105,7 @@ protected:
}
// We currently hav only implemented the texture uploads for GL.
- const GrGLInterface* gl = tt.glContext()->interface();
+ const GrGLInterface* gl = tt.glInterface();
if (!gl) {
return;
}
@@ -139,7 +139,7 @@ protected:
return;
}
- const GrGLInterface* gl = tt.glContext()->interface();
+ const GrGLInterface* gl = tt.glInterface();
if (!gl) {
return;
}