| Home
| Previous
| Next
| Up

MGL_enableOpenGLDrivers

Enables all available OpenGL specific MGL device drivers for use.

Declaration

void MGLAPI MGL_enableOpenGLDrivers(void)

Prototype In

mgraph.h

Description

This function enables all OpenGL specific MGL device drivers available on the target system for use, so that they will be used as part of the dynamic hardware detection process. If you wish to use OpenGL hardware acceleration in your application, you should call this function to register all the OpenGL specific drivers. OpenGL specific drivers are drivers that work with OS specific OpenGL hardware device drivers, and should only be used if the application is doing OpenGL rendering on the target OS. For non OpenGL applications, those drivers will be less efficient than the regular 2D only drivers.

Note: This function needs to be called for every device in the system, since each device contains a separate list of enabled device drivers to use.

See Also

MGL_enableAllDrivers, MGL_disableDriver

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com