[artoolkit-commits] artoolkit/examples/simple simpleTest.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:12:50
|
Update of /cvsroot/artoolkit/artoolkit/examples/simple In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28971 Modified Files: simpleTest.c Log Message: Fix for glutInit bug in OSX libARgsub. Index: simpleTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simple/simpleTest.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** simpleTest.c 4 Nov 2004 08:51:06 -0000 1.1.1.1 --- simpleTest.c 13 Apr 2005 06:12:21 -0000 1.2 *************** *** 47,51 **** int main(int argc, char **argv) { ! init(); arVideoCapStart(); --- 47,54 ---- int main(int argc, char **argv) { ! #ifdef __APPLE__ ! glutInit(&argc, argv); ! #endif ! init(); arVideoCapStart(); *************** *** 115,119 **** { ARParam wparam; ! /* open the video path */ if( arVideoOpen( vconf ) < 0 ) exit(0); --- 118,122 ---- { ARParam wparam; ! /* open the video path */ if( arVideoOpen( vconf ) < 0 ) exit(0); |