Index: src/image/SkImage_Base.h |
=================================================================== |
--- src/image/SkImage_Base.h (revision 8915) |
+++ src/image/SkImage_Base.h (working copy) |
@@ -15,6 +15,7 @@ |
SkImage_Base(int width, int height) : INHERITED(width, height) {} |
virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) = 0; |
+ virtual GrTexture* onGetTexture() { return NULL; } |
private: |
typedef SkImage INHERITED; |