Cleaning up when exiting an OpenGL app

前端 未结 5 885
孤独总比滥情好
孤独总比滥情好 2021-01-05 06:21

I have an an OSX OpenGL app I\'m trying to modify. When I create the app a whole bunch of initialisation functions are called -- including methods where I can specify my own

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 06:24

    Typically you don't need to do this; just exiting the application will tear down any resources you've allocated. Even if you've captured the screen, it should go back to normal.

提交回复
热议问题