码迷,mamicode.com
首页 > 其他好文 > 详细

OpenGL Common Mistakes

时间:2016-02-22 19:19:05      阅读:107      评论:0      收藏:0      [点我收藏+]

标签:

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.

OpenGL Common Mistakes

标签:

原文地址:http://www.cnblogs.com/lilei9110/p/5207906.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!