Update of /cvsroot/artoolkit/artoolkit/examples/twoView
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3640
Modified Files:
twoView.c
Log Message:
Correctness fix in handling grabbed pixels.
Index: twoView.c
===================================================================
RCS file: /cvsroot/artoolkit/artoolkit/examples/twoView/twoView.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** twoView.c 29 Jul 2005 23:22:59 -0000 1.9
--- twoView.c 22 Sep 2005 00:46:43 -0000 1.10
***************
*** 487,490 ****
--- 487,491 ----
gContextsActive[drawContextIndex].arglSettings); // zoom = 1.0.
ar2VideoCapNext(gContextsActive[drawContextIndex].ARTVideo);
+ gContextsActive[drawContextIndex].ARTImage = NULL; // Image data is no longer valid after calling ar2VideoCapNext().
if (gContextsActive[drawContextIndex].patt_found) {
|