summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-06-30 17:13:51 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-07-03 11:37:48 +0900
commita2de0a0bc959fd4c6ab7054c66af77f913eb4d8f (patch)
treeeb36300d14a5b33b1c8543488902a7999a687e1b /src/lib/evas/cache2
parent2b191b3c51e75f9a97612b1ad324ecdf496aa031 (diff)
Evas: Support duplicated borders in surface alloc
Now, the evas loader is supposed to advertise the actual border size in case of compressed texture formats. The only case where the border was non zero was ETC formats, from the TGV loader, so I think we don't need to keep the previous behaviour (auto-calculate borders for ETC).
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index 353ab0d3ab..11b2f2eceb 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -294,8 +294,6 @@ evas_cache2_image_surface_alloc(Image_Entry *ie, int w, int h)
294 294
295 ie->w = wmin; 295 ie->w = wmin;
296 ie->h = hmin; 296 ie->h = hmin;
297 ie->allocated.w = wmin;
298 ie->allocated.h = hmin;
299 ie->flags.loaded = EINA_TRUE; 297 ie->flags.loaded = EINA_TRUE;
300} 298}
301 299