aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagefromyuvtextures.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-06-25 15:02:22 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-25 15:02:22 -0700
commitb6d93ea428ca5d13641c35faca7d0380980a3a17 (patch)
tree482159018499cec34c78f210ee12f0f7e42cb17e /gm/imagefromyuvtextures.cpp
parent2436f191e6602953b32a51cf50f2d7a4e2af90fd (diff)
Return GrGLContext from GrTestTarget
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 b618abe2a4..b39a4dceab 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.glInterface();
+ const GrGLInterface* gl = tt.glContext()->interface();
if (!gl) {
return;
}
@@ -139,7 +139,7 @@ protected:
return;
}
- const GrGLInterface* gl = tt.glInterface();
+ const GrGLInterface* gl = tt.glContext()->interface();
if (!gl) {
return;
}