PR_AddTexture

Started by
0 comments, last by Gary 22 years, 7 months ago
If you use PR_AllocateSurface to get a surface, and then use PR_AddTexture to add it, do you need to call PR_FreeSurface or does PR_AddTexture take care of that? Gary
Advertisement
PR_AddTexture will free the surface automatically, with the idea being once you''ve converted to the texture''s surface you don''t need it any more.
Author of Power Render (http:/www.powerrender.com)

This topic is closed to new replies.

Advertisement