SDL_GL_ACCELERATED_VISUAL working?

Hi,

I’m using

SDL_GL_GetAttribute (SDL_GL_ACCELERATED_VISUAL, &is_accel);

to know if I have hard acceleration available.
The thing is, i don’t have hardware accel render but ‘is_accel’ is 1.

Anyone knows if I should check for something else?
thanks in advance.

David.

I was afraid that would happen… :slight_smile:
SDL_GL_ACCELERATED_VISUAL was only added recently, so it wouldn’t
surprise me if some backends simply ignore it.
There might be no way to do what you want to be doing on Linux.
The next best thing is to default to OpenGL and have a command-line
switch to override the default. Aleph One does it this way.
-:sigma.SBOn Nov 20, 2007 10:54 AM, David Roguin wrote:

The thing is, i don’t have hardware accel render but ‘is_accel’ is 1.