forked from enlightenment/efl
evas_generic_loader: fix this warning fine, dont broke stride oops
SVN revision: 59678
This commit is contained in:
parent
0d2e976774
commit
501f779c15
|
@ -167,7 +167,7 @@ _spectre_load_image(int size_w, int size_h)
|
|||
SpectreRenderContext *rc;
|
||||
unsigned char *psdata;
|
||||
int stride;
|
||||
DATA32 *src;
|
||||
unsigned char *src;
|
||||
DATA32 *dst;
|
||||
int yy;
|
||||
SpectreStatus status;
|
||||
|
@ -193,10 +193,10 @@ _spectre_load_image(int size_w, int size_h)
|
|||
_pixcopy(data, psdata, height * stride);
|
||||
else
|
||||
{
|
||||
src = (DATA32 *)psdata;
|
||||
src = psdata;
|
||||
dst = (DATA32 *)data;
|
||||
for (yy = 0; yy < height; src += stride, dst += width, ++yy)
|
||||
_pixcopy (dst, (unsigned char *)src, width * 4);
|
||||
_pixcopy (dst, src, width * 4);
|
||||
}
|
||||
|
||||
spectre_render_context_free(rc);
|
||||
|
|
Loading…
Reference in New Issue