OK, I can’t find the Red or Blue books ANYWHERE anymore, and it’s really got me ticked, because all I need to know is the fraggin’ format of glDeleteTextures(). I have tried everything and it fails.
//the texture layout
typedef struct tagblah
{
short int numTextures;
int *Texture;
…
} blah;blah *MyBlah;
…
glDeleteTextures(MyBlah->numTextures, MyBlah->Texture);
Why isn’t this working? I have tried swapping the variable places, I’ve used references, I’ve even tried making the struct static! Nothing works and I can’t reference the books anymore. There is one out there, but it totally sucks, has no search option, and is missing 50% of the functions I use, so I am assuming it is an old one.