summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2010-03-19 02:38:09 +0200
committerGeorge Sapountzis <[email protected]>2010-03-21 13:21:45 +0200
commit2d1641b1917309d6397a6c9c773b801eb83838f8 (patch)
tree752b52a0def508582affcd4bc2cadeb553e38837 /src
parentc48226e81d6a070a4bbaf42e0a310a868bcbe935 (diff)
glx: swapBuffers prototype has changed
Diffstat (limited to 'src')
-rw-r--r--src/glx/drisw_glx.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 1b94a56fd13..93826bc6825 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