Software/Hardware rendering in OpenGL
How you can choose between software rendering and hardware
rendering in OpenGL. Something like dlls in Quake2/3.
I think quake2 used their own software renderer. To use OpenGL''s software renderer, enumerate the available pixel formats by using DescribePixelFormat. When going through each pixel format, check whether the PFD_GENERIC_FORMAT bit of the dwFlags field of the PIXELFORMATDESCRIPTOR structure is set, if so that''s a generic pixel format, which uses the software OpenGL renderer. Sorry for the quick explanation, I haven''t got enough time to elaborate and give some sample code. If you need more help ICQ or e-mail me.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement