| DemoGL::Reference::Functions::DEMOGL_ExtensionCheckIfAvailable |
bool DEMOGL_ExtensionCheckIfAvailable( const int iExtension );
bool DEMOGL_ExtensionCheckIfAvailable( const char *pszExtensionName );
NOTE:. DEMOGL_ExtensionCheckIfAvailable will only work after DemoGL has opened the main window plus when the holder of that window, the main thread, executes DEMOGL_ExtensionCheckIfAvailable. Therefor it's not recommended to place DEMOGL_ExtensionCheckIfAvailable(const char *pszExtensionName) calls in Init() methods of a CEffect derived effect class, nor call this function before you call DEMOGL_AppRun. When you have to check for extensions in the Init() method, use the integer variant of DEMOGL_ExtensionCheckIfAvailable.
Last changed on 01-jun-2001
©1999-2001 Solutions Design