Hi Me again
Quick and Painless:
I know lots of you are familiar with this:
int LoadGLTextures()
{
int Status=FALSE;
AUX_RGBImageRec *TextureImage[1];
memset(TextureImage,0,sizeof(void *)*1);
This is ok if you want to load 1 texture, but what if I want to load more? To be more precise, what if the number of textures i want to load is stored in some int variable?
int textures=5;
AUX_RGBImageRec *TextureImage[textures];
That doesn´t work....
Any ideas?
Thanks
?






