fglrxinfo does not show anything above OpenGL 2.1.
Don't worry about fglrxinfo.

The driver supports OpenGL 3.0 (and beta OpenGL 3.1). You have to make an OpenGL 3.x context like martinsm said (just use the same headers you always do).

RoiiG

08-10-2009, 08:32 AM

Ok Heiko thank you i will investigate what is this context i have to create.

The last question (I think :D), i'm using freeglut and SDL(only for input) in my projectes. Will I need to make changes in future projects?

No my project include looks like this:

#include <GL/freeglut.h>
#include <SDL/SDL.h>

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

And my link libs are:

-lSDLmain -lSDL -lglut

I'm doing it right?

Thank you!!

Heiko

08-10-2009, 08:56 AM

I'm not sure about SDL and Freeglut. I think you have to write your own code for creating an OpenGL window that has OpenGL 3.x support (see link provided by martinsm). Perhaps SDL/freeglut has support for OpenGL 3.x already, but I don't think so.

martinsm

08-10-2009, 08:56 AM

Why do you use SDL and freeglut in same project?

For SDL to create GL3 context, you need to be using SDL 1.3 version that can be obtained from SVN sources. 1.2 version doesn't know how to create GL3 context.

Freeglut afaik also needs to be compiled from latest SVN sources to get GL3 support.