OpenGL Common Mistakes

https://www.opengl.org/wiki/Common_Mistakes

 

  1. Do not use constructors/destructors to initialize/destroy OpenGL objects. Instead, use member functions of these classes for these purposes. This violates RAII principles, so this is not the best course of action.
posted @ 2016-02-22 18:41  lilei9110  阅读(152)  评论(0编辑  收藏  举报