diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-06-30 17:13:51 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-07-03 11:37:48 +0900 |
commit | a2de0a0bc959fd4c6ab7054c66af77f913eb4d8f (patch) | |
tree | eb36300d14a5b33b1c8543488902a7999a687e1b /src/lib/evas/cache2 | |
parent | 2b191b3c51e75f9a97612b1ad324ecdf496aa031 (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.c | 2 |
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 | ||