diff options
author | joshualitt <joshualitt@chromium.org> | 2015-06-25 15:02:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-25 15:02:22 -0700 |
commit | b6d93ea428ca5d13641c35faca7d0380980a3a17 (patch) | |
tree | 482159018499cec34c78f210ee12f0f7e42cb17e /gm/imagefromyuvtextures.cpp | |
parent | 2436f191e6602953b32a51cf50f2d7a4e2af90fd (diff) |
Return GrGLContext from GrTestTarget
BUG=skia:
Review URL: https://codereview.chromium.org/1207393002
Diffstat (limited to 'gm/imagefromyuvtextures.cpp')
-rw-r--r-- | gm/imagefromyuvtextures.cpp | 4 |
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; } |