PDA

View Full Version : How to select software-rendering from a program???



wolfman
04-07-2004, 09:50 PM
How to select software-rendering from a program???

I want to use generic windows driver for OpenGL instead of video-cards drivers.
In some games you can specify what drivers to use, so I want to implement the same option.

Mazy
04-08-2004, 01:36 AM
Most (all?) games with that option have their own software renderer, just so that you can use that when a HW graphiccard isnt found, and you dont want the user to be stuck with the generic opengl implementation :)

But for your question : get all formats with discribePixelFormat, and check for one with the acceleration flag set to Generic.