aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin')
-rw-r--r--xorg-server/hw/xwin/glx/indirect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c
index 66d9d98c1..70b257c12 100644
--- a/xorg-server/hw/xwin/glx/indirect.c
+++ b/xorg-server/hw/xwin/glx/indirect.c
@@ -895,7 +895,7 @@ glxWinDestroyWindow(WindowPtr pWin)
*/
static GLboolean
-glxWinDrawableSwapBuffers(__GLXdrawable *base)
+glxWinDrawableSwapBuffers(ClientPtr client, __GLXdrawable *base)
{
BOOL ret;
__GLXWinDrawable *draw = (__GLXWinDrawable *)base;
@@ -931,7 +931,7 @@ glxWinDrawableCopySubBuffer(__GLXdrawable *drawable,
int x, int y, int w, int h)
{
glAddSwapHintRectWINWrapperNonstatic(x, y, w, h);
- glxWinDrawableSwapBuffers(drawable);
+ glxWinDrawableSwapBuffers(NULL,drawable);
}
static void