| Index: sky/engine/platform/graphics/GraphicsContext.cpp
|
| diff --git a/sky/engine/platform/graphics/GraphicsContext.cpp b/sky/engine/platform/graphics/GraphicsContext.cpp
|
| index 5282fe1ed120774bba30a3d13cb4f8142304238d..225660ee92c232654e0a1d1dce2114369d158dd0 100644
|
| --- a/sky/engine/platform/graphics/GraphicsContext.cpp
|
| +++ b/sky/engine/platform/graphics/GraphicsContext.cpp
|
| @@ -72,15 +72,6 @@ public:
|
| virtual SkCanvas* canvas() const override { return m_surface ? m_surface->getCanvas() : 0; }
|
| virtual bool isValid() const override { return m_surface; }
|
| virtual bool isAccelerated() const override { return isValid() && m_surface->getCanvas()->getTopDevice()->accessRenderTarget(); }
|
| - virtual Platform3DObject getBackingTexture() const override
|
| - {
|
| - ASSERT(isAccelerated());
|
| - GrRenderTarget* renderTarget = m_surface->getCanvas()->getTopDevice()->accessRenderTarget();
|
| - if (renderTarget) {
|
| - return renderTarget->asTexture()->getTextureHandle();
|
| - }
|
| - return 0;
|
| - };
|
|
|
| private:
|
| RefPtr<SkSurface> m_surface;
|
|
|