MGL_glHaveHWOpenGL

Checks for OpenGL hardware acceleration.

Declaration

ibool MGLAPI MGL_glHaveHWOpenGL(void)

Prototype In

mgraph.h

Return Value

True if OpenGL is hardware accelerated on the target platform.

Description

This function will load the system OpenGL libraries and attempt to determine if hardware acceleration is available or not. On the Win32 platform, this involves loading the Microsoft OpenGL libraries and checking to see if OpenGL is accelerated via an ICD or MCD hardware device driver. On other platforms we check to see if acceleration is available via the system OpenGL drivers. This function is most useful for determining if OpenGL is hardware accelerated when running in windowed modes.

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