expedite-cxx: Fix bug in image_crossfade.cc
This commit is contained in:
parent
93c095a3fb
commit
428f271bcf
|
@ -54,9 +54,13 @@ static void _cleanup(void)
|
|||
/* loop - do things */
|
||||
static void _loop(double t, int f)
|
||||
{
|
||||
int a = f & 0x1f;
|
||||
a = ((a << 3) | (a >> 2)) & 0xff;
|
||||
(*images.back()).color_set(a, a, a, a);
|
||||
if (!images.empty()) // XXX
|
||||
{
|
||||
int a = f & 0x1f;
|
||||
a = ((a << 3) | (a >> 2)) & 0xff;
|
||||
evas::image& img = images.back();
|
||||
img.evas::object::color_set(a, a, a, a);
|
||||
}
|
||||
FPS_STD(NAME);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue