This topic is now archived and is closed to further replies.

Texture Name

This topic is 5902 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I want to change the name of a texture in memory can I just use something like:
Texture	= & PR_GlobalStruct.PR_Textures[TextureNumber];

Texture->filename = (char *)PR_malloc(NewNameLength+1);
strcpy(Texture->filename, NewName);
Is there anything else I need to worry about? Gary Edited by - Gary on October 19, 2001 8:02:53 PM

Share this post

Link to post
Share on other sites