summaryrefslogtreecommitdiff
path: root/src/i830_dri.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-14 17:51:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-14 17:51:40 +0100
commit7ee73d2c6f373f3d6829cb1876b1940db62be452 (patch)
treed59d827e4ef52a9cf11869c312b7df973e02f9fd /src/i830_dri.c
parent030d56279bf14d9ddd42d8fdbeaa66ef3f557b4d (diff)
drm: Remove unused old_front parameter from drmmode_do_pageflip.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r--src/i830_dri.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index 21871c59..7ba91661 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -487,7 +487,7 @@ I830DRI2ScheduleFlip(ClientPtr client, DrawablePtr draw, DRI2BufferPtr front,
DRI2BufferPtr back, DRI2SwapEventPtr func, void *data)
{
ScreenPtr screen = draw->pScreen;
- I830DRI2BufferPrivatePtr front_priv, back_priv;
+ I830DRI2BufferPrivatePtr back_priv;
DRI2FrameEventPtr flip_info;
flip_info = xcalloc(1, sizeof(DRI2FrameEventRec));
@@ -500,12 +500,9 @@ I830DRI2ScheduleFlip(ClientPtr client, DrawablePtr draw, DRI2BufferPtr front,
flip_info->event_complete = func;
flip_info->event_data = data;
- front_priv = front->driverPrivate;
- back_priv = back->driverPrivate;
-
/* Page flip the full screen buffer */
+ back_priv = back->driverPrivate;
return drmmode_do_pageflip(screen,
- i830_get_pixmap_bo(front_priv->pixmap),
i830_get_pixmap_bo(back_priv->pixmap),
flip_info);
}