Vincent
02-14-2000, 11:46 PM
How can I know on Macintosh if OpenGL libraries are present. They must be a gestalt fonction.
Vhoffmann@bplorraine.fr
In order for this to work, you need to "weak link" the stub libs. In CodeWarrior, click on the libs, open project inspector, and check "import weak"
if ((Ptr) kUnresolvedCFragSymbolAddress ==
(Ptr) glBegin)
{
// error, opengl not installed
}
HTH,
Darrell
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.