+ /* synchronize X11 graphics at this point; if we would synchronize the
+ display immediately after the buffer switching (after the XFlush),
+ this could mean that we have to wait for the graphics to complete,
+ although we could go on doing calculations for the next frame */
+
+ XSync(display,FALSE);
+
+#ifdef MSDOS
+ wait_for_vsync = TRUE;
+#endif
+