Hello,
First it is not leeks, or leecks, but leaks. oops :)
The gl*Pointer functions are the ones leaking memory.
I took my gl*Pointer functions out of my main loop and
it stoped chewing up megabytes every few seconds.
Still not clear on why. When an array is passed as an
argument, is it copied? If it is, then the gl*Pointer
functions would get the wrong pointer. Also if it is
copied is the function responsible for freeing it?
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
|