fix non-scalecache mode

SVN revision: 39744
This commit is contained in:
Carsten Haitzler 2009-03-27 07:22:46 +00:00
parent 66cc98b0f4
commit 5f0c7389a2
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#include "evas_private.h"
#include "evas_image_private.h"
#define SCALECACHE 1
//#define SCALECACHE 1
#define MAX_SCALEITEMS 16
#define MIN_SCALE_USES 3
@ -486,6 +486,9 @@ evas_common_rgba_image_scalecache_do(Image_Entry *ie, RGBA_Image *dst,
}
#else
RGBA_Image *im = (RGBA_Image *)ie;
if (im->cache_entry.space == EVAS_COLORSPACE_ARGB8888)
evas_cache_image_load_data(&im->cache_entry);
evas_common_image_colorspace_normalize(im);
if (im->image.data)
{
if (smooth)