changeset 36226:68cbead2e8a5

Matrixview: fix getting only blank screen on OSX.
author reimar
date Sun, 09 Jun 2013 22:05:43 +0000
parents b67bdb9304f8
children f73711af11ae
files libvo/vo_matrixview.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_matrixview.c	Sun Jun 09 22:03:50 2013 +0000
+++ b/libvo/vo_matrixview.c	Sun Jun 09 22:05:43 2013 +0000
@@ -154,6 +154,9 @@
 static void flip_page(void)
 {
     matrixview_draw(vo_dwidth, vo_dheight, GetTimer(), 0.0, map_image[0]);
+    // Needed at least on PPC Mac Mini on OSX. Should not hurt
+    // much to do always.
+    mpglFlush();
     glctx.swapGlBuffers(&glctx);
 }