PR_AddTexture
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
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement