Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: How to make Visual Studio 2005 support opengl2.0+?

  1. #1
    Junior Member Newbie
    Join Date
    May 2012
    Posts
    1

    Smile How to make Visual Studio 2005 support opengl2.0+?

    hi guys,
    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+?
    Thanks everyone!

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,580
    You have to get function pointers at runtime :

    http://www.opengl.org/wiki/Getting_S...ting_Functions

    Easy way is to use an extension loading library that does the work for you, ie GLEW.

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,212
    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) is the way to go.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •