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.

Thanks Simon. Following your advice I googled to the homepage and found:

http://www.opengl.org/resources/faq/technical/mswindows.htm#0020

To force software rendering from your application, choose a pixel format that is not hardware accelerated. To do this, you can not use ChoosePixelFormat(), which always selects a hardware accelerated pixel format when one is available. Instead, use DescribePixelFormat() to iterate through the list of available pixel formats. Any format with the PFD_GENERIC_FORMAT attribute bit set will not be hardware accelerated.


Now... how to do this in Blitzmax?