Various methods to detect opengl?

BlitzMax Forums/BlitzMax OpenGL Programming/Various methods to detect opengl?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,

What are actually the various methods to detect the presence of opengl?

I'd like to be able to return if opengl is in hardware of software mode.

Apologies if you have read a similar post, but I felt this forum more approporite for this kind of question.

I can't benchmark it as it is very unreliable on some cpus. For example the cpu may be the slow factor.