forked from enlightenment/efl
eek - case of stride value being wrong! fix!
SVN revision: 54087
This commit is contained in:
parent
05246414c6
commit
29a707fdf8
|
@ -697,7 +697,7 @@ EAPI void
|
|||
evas_object_image_size_set(Evas_Object *obj, int w, int h)
|
||||
{
|
||||
Evas_Object_Image *o;
|
||||
int stride;
|
||||
int stride = 0;
|
||||
|
||||
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
|
||||
return;
|
||||
|
@ -2243,7 +2243,7 @@ evas_object_image_load(Evas_Object *obj)
|
|||
if (o->engine_data)
|
||||
{
|
||||
int w, h;
|
||||
int stride;
|
||||
int stride = 0;
|
||||
|
||||
obj->layer->evas->engine.func->image_size_get
|
||||
(obj->layer->evas->engine.data.output,
|
||||
|
|
|
@ -1749,7 +1749,7 @@ static void
|
|||
eng_image_stride_get(void *data __UNUSED__, void *image, int *stride)
|
||||
{
|
||||
Evas_GL_Image *im = image;
|
||||
*stride = im->w;
|
||||
*stride = im->w * 4;
|
||||
if ((im->tex) && (im->tex->pt->dyn.img))
|
||||
{
|
||||
*stride = im->tex->pt->dyn.w * 4;
|
||||
|
|
Loading…
Reference in New Issue