diff layer/ScrollableImageCache.cpp @ 1113:261a00010918 spectrogram-minor-refactor

Consts and willRenderOpaque
author Chris Cannam
date Tue, 19 Jul 2016 14:49:46 +0100
parents c8c747783110
children 175d4e15884d
line wrap: on
line diff
--- a/layer/ScrollableImageCache.cpp	Tue Jul 19 10:12:30 2016 +0100
+++ b/layer/ScrollableImageCache.cpp	Tue Jul 19 14:49:46 2016 +0100
@@ -20,7 +20,8 @@
 #define DEBUG_SCROLLABLE_IMAGE_CACHE 1
 
 void
-ScrollableImageCache::scrollTo(LayerGeometryProvider *v, sv_frame_t newStartFrame)
+ScrollableImageCache::scrollTo(const LayerGeometryProvider *v,
+                               sv_frame_t newStartFrame)
 {
     if (m_startFrame == newStartFrame) {
 	// haven't moved