[SDL] how to know if (direct render) hardware accelerated is available
Mikael Eriksson
mikael_miffe_eriksson at yahoo.se
Fri Nov 16 12:57:15 PST 2007
On Fri, Nov 16, 2007 at 04:01:52PM -0300, David Roguin wrote:
> I'm working in a graphic library for making games, I want to use
> OpenGL and SDL in case that accel hardware is not available; that's
> why I need to check before rendering anything in screen.
>
> I was thinking, if I test if the GL_RENDER is Mesa, I'm sure that not
> hardware accel is present. But is there another soft OpenGL
> implementation besides Mesa?
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.0.1
I got Mesa in the renderer string but it's still hardware accellerated.
>
> David.
>
More information about the SDL
mailing list