Module: Mesa
Branch: master
Commit: 2d1641b1917309d6397a6c9c773b801eb83838f8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d1641b1917309d6397a6c9c773b801eb83838f8

Author: George Sapountzis <[email protected]>
Date:   Fri Mar 19 02:38:09 2010 +0200

glx: swapBuffers prototype has changed

---

 src/glx/drisw_glx.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 1b94a56..93826bc 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -334,10 +334,17 @@ driCreateDrawable(__GLXscreenConfigs * psc,
    return pdraw;
 }
 
-static void
-driSwapBuffers(__GLXDRIdrawable * pdraw)
+static int64_t
+driSwapBuffers(__GLXDRIdrawable * pdraw,
+               int64_t target_msc, int64_t divisor, int64_t remainder)
 {
+   (void) target_msc;
+   (void) divisor;
+   (void) remainder;
+
    (*pdraw->psc->core->swapBuffers) (pdraw->driDrawable);
+
+   return 0;
 }
 
 static void

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to