diff options
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; } |