diff options
Diffstat (limited to 'gm/rectangletexture.cpp')
-rw-r--r-- | gm/rectangletexture.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gm/rectangletexture.cpp b/gm/rectangletexture.cpp index 2fb64be90e..1ce915bf52 100644 --- a/gm/rectangletexture.cpp +++ b/gm/rectangletexture.cpp @@ -13,6 +13,7 @@ #include "GrBackendSurface.h" #include "GrContext.h" +#include "GrContextPriv.h" #include "GrGpu.h" #include "GrTest.h" #include "gl/GrGLContext.h" @@ -61,7 +62,7 @@ protected: if (!context) { return nullptr; } - GrGpu* gpu = context->getGpu(); + GrGpu* gpu = context->contextPriv().getGpu(); if (!gpu) { return nullptr; } |