-
January 9th, 2013, 07:52 AM
#1
glNewList allocates 260KB!!!!
Hello,
I have a big problem in my app.
Many times I create a displaylist, the following function allocated approx. 260KB!
Code:
glNewList((UINT)this,GL_COMPILE);
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.
Any ideas?
How can I release the memory?
(win xp/32)
thx
Ralf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|