mirror of
https://github.com/Relintai/gif_loader.git
synced 2024-11-12 10:25:04 +01:00
Fix potential ambigous variant conversion.
This commit is contained in:
parent
12560ee460
commit
299a810e4f
@ -76,7 +76,8 @@ void GIFLoader::gif_frame(void *data, struct GIF_WHDR *whdr) {
|
|||||||
pictw.release();
|
pictw.release();
|
||||||
|
|
||||||
Array image_arr;
|
Array image_arr;
|
||||||
image_arr.push_back(whdr->time);
|
int aframe_time = whdr->time;
|
||||||
|
image_arr.push_back(aframe_time);
|
||||||
|
|
||||||
Ref<Image> img;
|
Ref<Image> img;
|
||||||
img.instance();
|
img.instance();
|
||||||
|
Loading…
Reference in New Issue
Block a user