Advertisement

glGenTextures question

Started by March 19, 2002 03:27 AM
0 comments, last by Reikon 22 years, 11 months 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?
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