summaryrefslogtreecommitdiff
path: root/imagecache.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-02-20 18:37:12 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-02-20 18:37:12 +0100
commit7edd82e7ea0f4d32b4e15cb4be1c6d819269c812 (patch)
tree1498fd420a0dbfe2ca9d0bed03ce56c73bd4880a /imagecache.c
parent330cc7df50705aa63721c45db72522a4ad51d5e6 (diff)
downloadskin-flatplus-7edd82e7ea0f4d32b4e15cb4be1c6d819269c812.tar.gz
skin-flatplus-7edd82e7ea0f4d32b4e15cb4be1c6d819269c812.tar.bz2
update SetItemRecording, fix imagecache, add imageloader debug time output
Diffstat (limited to 'imagecache.c')
-rw-r--r--imagecache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imagecache.c b/imagecache.c
index 1ddc3e24..5453d7e2 100644
--- a/imagecache.c
+++ b/imagecache.c
@@ -29,7 +29,9 @@ void cImageCache::Clear(void) {
}
cImage* cImageCache::GetImage(std::string Name, int Width, int Height) {
+ //dsyslog("imagecache search for image %s Width %d Height %d", Name.c_str(), Width, Height);
for(int index = 0; index < MAX_IMAGE_CACHE; index++ ) {
+ //dsyslog("imagecache index %d image %s Width %d Height %d", index, CacheName[index].c_str(), CacheWidth[index], CacheHeight[index]);
if( CacheName[index] == Name && CacheWidth[index] == Width && CacheHeight[index] == Height )
return CacheImage[index];
}