Jump to content
  • Advertisement
Sign in to follow this  
e_pech

OpenGL Delete lists...

This topic is 3657 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have this huge problem... I'm new to C Programming, especially MFC and OpenGL... I'm using display lists (WglUseFontOutlines) to display text. I'm doing a dialog where I have an OpenGL Window to display the text and the way is formatted according to values (e.g. Rotation) however, everytime I change the rotation the Memory being used by the program goes up to 400MB and continues to go up as long as I keep playing with the controls.... I'm sure there is something wrong with my memory management. I think, I have a hunch that if I delete the display lists everytime I refresh the OpenGL Window, I might be able to use little memory... I hope I was clear, I really need help on this matter... Thanks a lot!!

Share this post


Link to post
Share on other sites
Advertisement
I'd say recompiling the display lists would gain you much. I'm not that sure about memory consumption of display lists, especially if textures are involved (actually I never really used them) , but if you recompiled the lists every frame you'd get a huge performance drop.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!