st/xorg: Remove superfluous flushes from the EXA WaitMarker hook.
[mesa.git] / src / gallium / state_trackers / xorg / xorg_exa.c
index 6fa274eb0ab0f70254aad8033834e24a60bdc65e..29fc8617489bae327b543a26d33f8958e63b66f9 100644 (file)
@@ -170,15 +170,7 @@ xorg_exa_common_done(struct exa_context *exa)
 static void
 ExaWaitMarker(ScreenPtr pScreen, int marker)
 {
-   ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
-   modesettingPtr ms = modesettingPTR(pScrn);
-   struct exa_context *exa = ms->exa;
-
-#if 0
-   xorg_exa_flush(exa, PIPE_FLUSH_RENDER_CACHE, NULL);
-#else
-   xorg_exa_finish(exa);
-#endif
+   /* Nothing to do, handled in the PrepareAccess hook */
 }
 
 static int