git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@54087
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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;
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,
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;