forked from enlightenment/efl
evas/gl - don't need to keep the texture altas height for the framebuffer.
they won't be utilized anything by atlas. Cause of this, It wasted unnecessary texture memory. :( SVN revision: 79637
This commit is contained in:
parent
63cbf85067
commit
4e55742f4a
|
@ -363,7 +363,6 @@ _pool_tex_render_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, in
|
||||||
|
|
||||||
pt = calloc(1, sizeof(Evas_GL_Texture_Pool));
|
pt = calloc(1, sizeof(Evas_GL_Texture_Pool));
|
||||||
if (!pt) return NULL;
|
if (!pt) return NULL;
|
||||||
h = _tex_round_slot(gc, h) * gc->shared->info.tune.atlas.slot_size;
|
|
||||||
_tex_adjust(gc, &w, &h);
|
_tex_adjust(gc, &w, &h);
|
||||||
pt->gc = gc;
|
pt->gc = gc;
|
||||||
pt->w = w;
|
pt->w = w;
|
||||||
|
|
Loading…
Reference in New Issue