I am trying to improve vtf2tga, so it can convert several textures in
a row, but I've noticed that program's RAM usage doesn't decrease
after one texture has been converted. I mean when I convert 3 textures
in a row all of 512x512 size, such thing happen to memory usage:
before conversion - ~3mb
1 image converted - ~4.5mb
2 images converted - ~5.5mb
etc.
What should I do to clean the memory? I call DestroyVTFTexture in the
end of the function. VALVE, can I hear some reply from you?

Currently the only improvement is that vtf2tga became a DLL and I am
using the following function:

function void ConvertVtfToTga(const char *InFileName, const char *OutFileName)

so I even do not pass array with image data anywhere.

--
Best regards,
 Vyacheslav                          mailto:[EMAIL PROTECTED]


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to