What's so different about OpenGL 3.x?

后端 未结 2 2079
無奈伤痛
無奈伤痛 2020-12-29 09:12

I\'ve been looking for an OpenGL book lately and noticed that the OpenGL programming guide (2010) is deprecated. What\'s so different about OpenGL 3.x from 2.x?

2条回答
  •  感动是毒
    2020-12-29 09:21

    Many things, actually. Immediate mode is deprecated. To get OpenGL 3.0 functions, you now should create OpenGL 3.0 context explicitly (existing OpenGL 2.0 programs won't do that, so they get 2.0-compatible context). API has been expanded as well (see http://www.opengl.org for details).

提交回复
热议问题