[SDL] Detecting HW opengl

Michael Vance michael at linuxgames.com
Tue Aug 7 14:35:01 PDT 2001


On Tue, Aug 07, 2001 at 12:52:26PM -0700, Kisai wrote:

[ multiples snipped ]

> So if you do glGetString(GL_RENDERER) or glGetString(GL_VENDOR) and look for
> any of the software renderer's strings, that should tell you.

For the love of God, this is exactly why you shouldn't do something as
abysmally naive as this.

There is no demarcation of software vs. hardware
rendering. Yesterday's hardware rendering is today's software. One
feature configuration on one piece of hardware is a software fallback
on another. All you can do is time your application and determine if
the rendering/execution went fast enough.

m.

-- 
"To be able to trust and rely on another person is 
 the most valuable gift in this world to give and to receive."
 -- Sensei Furuya





More information about the SDL mailing list