View Full Version : How to make Visual Studio 2005 support opengl2.0+?
05-08-2012, 02:37 AM
The OS of My PC is win7 ultimate version and graphics card is intel hd 3000. VS2005 currently just supports opengl1.1 and I need later versions such as openg2.0, opengl3.0 to program. I'm a beginner, so how to make Visual Studio 2005 support opengl2.0+?
05-08-2012, 03:05 AM
You have to get function pointers at runtime :
Easy way is to use an extension loading library that does the work for you, ie GLEW.
05-08-2012, 08:29 AM
It's not Visual Studio that gives you OpenGL support, it's your graphics card and driver. If your graphics card doesn't support OpenGL 3.0+, and if you don't have a driver for OpenGL 3.0+, then Visual Studio can do nothing about it.
On the other hand if you do have this support in your graphics card and driver, and you want to write code to this level, then getting the function pointers (or - even better - using an extension loading library such as GLEW (http://glew.sourceforge.net/)) is the way to go.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.