From: David Schiefelbein (s367610++at++student.uq.edu.au)
Date: 08/21/2003 23:32:20
I used this function to load avi data (retrieved by a 3rd party library)
into a texture and it
worked perfectly using:
texure->setFormat(PFTEX_IMAGE_FORMAT, GL_RGB);
texure->setImage( (unsigned int *)AVIPlayer_getCurrentFrame(), 3, 256,
256, 1);
I am curious to know why setImage() takes an (unsigned int *) as it's
input?
I would have thought it would take a pointer (void *).
Thanks,
David Schiefelbein
This archive was generated by hypermail 2b29 : Thu Aug 21 2003 - 23:40:03 PDT