Releasing OpenGL memory RRS feed

  • Question

  • I have an application that makes a beautiful solid model with OpenGL.  When I close the window, the memory is not released.  There must be a simple function call that will close everything and release it -- but I cannot find it.  Do I have to do a glDeleteBuffers(...) for everything individually?  After many windows are opened and closed, the application crashes, likely because of the memory limit.
    Sunday, November 24, 2019 4:02 PM


  • Hi,

    Thank you for posting here.

    This forum is about c++ development. According to your issue , I suggest you should ask it in OpenGL forum. And this thread will be moved to Off-Topic Posts.

    Best Regards,

    Suarez Zhou

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by DonDilworth Monday, November 25, 2019 2:49 PM
    Monday, November 25, 2019 1:32 AM