forked from enlightenment/efl
evas - found a inccorect check while reading the code.
This commit is contained in:
parent
f4377b316c
commit
231d619c8c
|
@ -1454,10 +1454,10 @@ _draw_thread_map_draw(void *data)
|
||||||
RGBA_Image *im = map->image;
|
RGBA_Image *im = map->image;
|
||||||
int dx, dy, dw, dh;
|
int dx, dy, dw, dh;
|
||||||
|
|
||||||
if (m->count - offset < 3) goto free_out;
|
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
if (m->count - offset < 3) goto free_out;
|
||||||
|
|
||||||
//Fully Transparency. Skip this.
|
//Fully Transparency. Skip this.
|
||||||
if (!(m->pts[0 + offset].col & 0xff000000) &&
|
if (!(m->pts[0 + offset].col & 0xff000000) &&
|
||||||
!(m->pts[1 + offset].col & 0xff000000) &&
|
!(m->pts[1 + offset].col & 0xff000000) &&
|
||||||
|
|
Loading…
Reference in New Issue