How to detect if OGL is HW accelerated?

BlitzMax Forums/BlitzMax Programming/How to detect if OGL is HW accelerated?

Hi,

On one of my test PCs which is software rendering only, it drops down to OpenGL software mode and then runs for a while then crashes.

I actually want to detect if OpenGL is running in software mode so I can cancel that and switch to my custom software engine.

How do I detect this?

Thank you.