glGenTextures question

Started by
0 comments, last by Reikon 22 years, 1 month ago
Hi there - some little question on the glGenTextures function. Let''s say I''ve got an array of 256 GLuints and now generate 127 texture Names via glGenTextures(127, &myarray). What happens if I call this again? Does glGenTextures try to fill up the remaining space or does it overwrite the exisiting entries?
Advertisement
its starts writing at the address you give it, so overwrite in your example.
glGenTextures(127, &(myarray[127]));

This topic is closed to new replies.

Advertisement