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 4 of 4

Thread: OpenGL 3.2 setup

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2010
    Posts
    9

    OpenGL 3.2 setup

    I'm trying to setup visual studio 2008 to use openGL 3.2. I've done a fair amount of things to try get it working but ill just mention what problem I'm having at the moment.

    I downloaded and ran the openGL 3.2 samples and the sample.check() which runs:

    Code :
    	glGetIntegerv(GL_MAJOR_VERSION, &MajorVersion);
    	glGetIntegerv(GL_MINOR_VERSION, &MinorVersion);

    And I get version 2.1( but of course it does because the standard context uses openGL 2.1??). Note: if I run this same code in another project that I have created, and AFTER I create the new 3.x type context it returns version 3.1 after I pass in the the attribs into the new openGL 3 context :
    Code :
    int attribs[] = {
    WGL_CONTEXT_MAJOR_VERSION_ARB,3,
    WGL_CONTEXT_MINOR_VERSION_ARB, 1,
    WGL_CONTEXT_FLAGS_ARB, 0,0,0
    };

    But errors when I pass in minor version 2, why??? I think ATIs drivers support openGL 3.2.

    I have the latest drivers for my laptops(Dell) graphics card. ATI 3670. Also OpenGL Extensions Viewer 3.15 states my openGL version is 3.0, driver version 8.631 25-jun-09.

    So in the samples why do they do the version check before the context is created??? because it says I'm using openGL 2.1

    Is there a guide how to setup openGL 3.2 on windows 7? I assume all I have to do was install the latest graphics card driver?

    Also its annoying how there is so many "helper?" librarys for openGL around. Whats the deal with glew library? In my other project I couldn't start writing VBO type rendering without it because of some functions weren't defined in the gl.h, but were defined in glew headers.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2007
    Location
    Latvia
    Posts
    225

    Re: OpenGL 3.2 setup

    What ATI Catalyst driver have you installed? To get 3.2 support you must use 9.12 driver.

    gl.h usually comes with your compiler, and is not upgraded to newest/lastest OpenGL version. To get latest OpenGL symbols you must use glext.h file. And to get latest OpenGL entry points you must load them manyally with your OS support functions (in Windows it is wglGetProcAddress). Libraries like GLEW or GLEE helps here and does all the hard work themselves. All you have to do is just use functions and they will load all needed functions on demand. It has been like this already for ages, 3.2 version has not introduced in this mechanism (entry point loading) nothing new.

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2010
    Posts
    9

    Re: OpenGL 3.2 setup

    I have Catalyst 8.631.

    I have the the ATI Mobility Radeon HD 3670. And I don't think there is drivers for this card that supports openGL 3.2

    unless someone knows where i can find the catalyst 9.2 for mobility cards! The most annoying thing is that dell make the drivers for the graphics card and they are useless

  4. #4
    Advanced Member Frequent Contributor Mars_999's Avatar
    Join Date
    Mar 2001
    Location
    Sioux Falls, SD, USA
    Posts
    519

    Re: OpenGL 3.2 setup

    Go to http://www.hardwareheaven.com/modtool.php

    and update your drivers....

Posting Permissions

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