forked from enlightenment/efl
evas gl: Fix memory tracking
See b16c961680
which by "fixing" indentation changed the
logic of the code. Yes the indentation was misleading (because of
the #if / #else) but the logic was correct. Anyway this is was not
a harmful issue as those memory trackers aren't really used.
This commit is contained in:
parent
6aad6d27f2
commit
45d846814f
|
@ -1344,8 +1344,8 @@ _surface_buffers_allocate(void *eng_data EINA_UNUSED, EVGL_Surface *sfc, int w,
|
|||
_renderbuffer_allocate(sfc->depth_stencil_buf,
|
||||
sfc->depth_stencil_fmt, w, h,
|
||||
sfc->msaa_samples);
|
||||
sfc->buffer_mem[3] = w * h * 4;
|
||||
}
|
||||
sfc->buffer_mem[3] = w * h * 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue