January 9th, 2013, 06:52 AM
glNewList allocates 260KB!!!!
I have a big problem in my app.
Many times I create a displaylist, the following function allocated approx. 260KB!
I figured this out by checking the memory consumption right before and after the function with GlobalMemoryStatus().
Important: there is no other function between the GlobalMemoryStatus-call.
It is only the call to "glNewList".
This leads to a secure problem: after creation of 1000 displaylists, it can be possible, that 1000x 260KB are allocated.
How can I release the memory?
Click Here to Expand Forum to Full Width