For the moment you will have to add the glFlush(). We'll add it to
the cvs code in due course.
Cheers
Tom
Pablo Barrera wrote:
Hi (again)
I am sorry to spam you so often, but I have some issues with
video_play programs. When I execute those programs (video_play and
video_play_bw) the window is not update correctly. It just keep the
first frame until some event happens in X11. To fix this I just
glFlush the display after glDrawPixels():
$ cvs diff progs/video_play*c
Index: progs/video_play.cc
===================================================================
RCS file: /cvsroot/libcvd/libcvd/progs/video_play.cc,v
retrieving revision 1.4
diff -r1.4 video_play.cc
54a55
> glFlush();
Index: progs/video_play_bw.cc
===================================================================
RCS file: /cvsroot/libcvd/libcvd/progs/video_play_bw.cc,v
retrieving revision 1.3
diff -r1.3 video_play_bw.cc
54a55
> glFlush();
I hope this will help a little bit.
Cheers,
Pablo
_______________________________________________
libcvd-members mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/libcvd-members
--
Dr Tom Drummond http://mi.eng.cam.ac.uk/~twd20/
Machine Intelligence Laboratory
Department of Engineering
University of Cambridge