开发者

OpenGL outdated version (can't find glMultiDrawElements on header)

I was trying to use the function glMultiDrawElements while studying OpenGL (using red book) but couldn't.

I checked the header "gl.h" and the function wasn't there so I checked the version on top of the header and it's 1.1. I know I need at least 1.4 to use it, but I have no idea on how to update it. I tried Windows Update but nothing.

This is probably a stupid question but 开发者_如何学运维all of this is new to me so I'm a bit confused... I'm using Visual C++ 2008 Express in case you need to know that.


Grab something like GLEW in order to work with more recent versions of OpenGL. The headers that ship with Visual Studio are woefully outdated (probably for obvious reasons).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜