[artoolkit-commits] artoolkit/examples/optical optical.c,1.1.1.1,1.2
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2005-04-13 06:13:45
|
Update of /cvsroot/artoolkit/artoolkit/examples/optical In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29445 Modified Files: optical.c Log Message: Fix for glutInit bug in OSX libARgsub. Index: optical.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/optical/optical.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** optical.c 4 Nov 2004 08:50:59 -0000 1.1.1.1 --- optical.c 13 Apr 2005 06:13:19 -0000 1.2 *************** *** 70,73 **** --- 70,76 ---- int main(int argc, char **argv) { + #ifdef __APPLE__ + glutInit(&argc, argv); + #endif if( init( argc, argv ) < 0 ) exit(0); |