Is this code sample correct? Why do some of _data have the same values? How can i get pointers to every animation frame contained in gif image?
_num = ilGetInteger(IL_NUM_IMAGES)+1;
for (int i = 0; i < _num; i++)
{
ilActiveImage(i);
_data.push_back(ilGetData());
}