forked from enlightenment/efl
ecore-evas-buffer: Fix formatting
NB: No functional changes
This commit is contained in:
parent
cc5a45101f
commit
3fcdada0fd
|
@ -77,10 +77,9 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
|
|||
else
|
||||
{
|
||||
if (bdata->pixels)
|
||||
bdata->free_func(bdata->data,
|
||||
bdata->pixels);
|
||||
bdata->pixels = bdata->alloc_func(bdata->data,
|
||||
ee->w * ee->h * sizeof(int));
|
||||
bdata->free_func(bdata->data, bdata->pixels);
|
||||
bdata->pixels =
|
||||
bdata->alloc_func(bdata->data, ee->w * ee->h * sizeof(int));
|
||||
stride = ee->w * sizeof(int);
|
||||
}
|
||||
|
||||
|
@ -893,8 +892,9 @@ ecore_evas_buffer_new(int w, int h)
|
|||
|
||||
ecore_event_evas_init();
|
||||
|
||||
ee = ecore_evas_buffer_allocfunc_new
|
||||
(w, h, _ecore_evas_buffer_pix_alloc, _ecore_evas_buffer_pix_free, NULL);
|
||||
ee =
|
||||
ecore_evas_buffer_allocfunc_new(w, h, _ecore_evas_buffer_pix_alloc,
|
||||
_ecore_evas_buffer_pix_free, NULL);
|
||||
|
||||
if (!ee) ecore_event_evas_shutdown();
|
||||
|
||||
|
|
Loading…
Reference in New Issue