summaryrefslogtreecommitdiffstats
path: root/cc/CCRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/CCRenderer.h')
-rw-r--r--cc/CCRenderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/CCRenderer.h b/cc/CCRenderer.h
index c28df4f0..78a6081 100644
--- a/cc/CCRenderer.h
+++ b/cc/CCRenderer.h
@@ -52,7 +52,7 @@ public:
virtual void viewportChanged() { }
virtual void decideRenderPassAllocationsForFrame(const CCRenderPassList&) { }
- virtual bool haveCachedResourcesForRenderPassId(CCRenderPass::Id) const { return false; }
+ virtual bool haveCachedResourcesForRenderPassId(CCRenderPass::Id) const;
virtual void drawFrame(const CCRenderPassList&, const CCRenderPassIdHashMap&) = 0;
@@ -65,7 +65,7 @@ public:
virtual void getFramebufferPixels(void *pixels, const IntRect&) = 0;
- virtual bool isContextLost() { return false; }
+ virtual bool isContextLost();
virtual void setVisible(bool) = 0;