19 Dec 2003 13:46
Re: [torcs-1.2.2-pre4] eat memory........
Bernhard Wymann <berniw <at> bluewin.ch>
2003-12-19 12:46:07 GMT
2003-12-19 12:46:07 GMT
Hi all
Bernhard Wymann wrote:
> Hi all
>
>> I think it is the mirror camera, which is the only one that allocates
>> something. Hm.. there is the fact that it does this in setViewport()
>> if (viewCam) {
>> delete viewCam;
>> }
>> viewCam = new cGrOrthoCamera (screen, x, x + w, y, y + h);
>>
>> It is also doing something with opengl, but I don't know whether these
>> calls can lead to leaks.
It's just executed once or twice, so this might be a leak, but probably
not the big one.
bye, Bernhard.
--
--
visit my homepage http://www.berniw.org
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
RSS Feed