antialias: LV_ANTIALAS added, x4 atialas removed, LV_UPSCALE_MAP removed

This commit is contained in:
Gabor
2017-01-06 16:00:37 +01:00
parent 1e57771405
commit e5dad65949
7 changed files with 23 additions and 142 deletions

View File

@@ -212,10 +212,7 @@ void lv_img_set_file(lv_obj_t * img, const char * fn)
ext->w = header.w;
ext->h = header.h;
ext->transp = header.transp;
#if LV_UPSCALE_MAP != 0
ext->w *= LV_DOWNSCALE;
ext->h *= LV_DOWNSCALE;
#endif
if(fn != NULL) {
ext->fn = dm_realloc(ext->fn, strlen(fn) + 1);
strcpy(ext->fn, fn);