From 768f317cf0da4cd6682af2e71e71c3e130e05182 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Mon, 8 Dec 2008 10:33:13 +0800 Subject: [PATCH] Fix DRI2 compiling warning --- src/i830_dri.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/i830_dri.c b/src/i830_dri.c index daa3ff0e..0fe0eca7 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -1930,7 +1930,7 @@ I830DRI2DestroyBuffers(DrawablePtr pDraw, DRI2BufferPtr buffers, int count) } } -static unsigned int +static void I830DRI2CopyRegion(DrawablePtr pDraw, RegionPtr pRegion, DRI2BufferPtr pDestBuffer, DRI2BufferPtr pSrcBuffer) { @@ -1966,7 +1966,6 @@ I830DRI2CopyRegion(DrawablePtr pDraw, RegionPtr pRegion, #endif drmCommandNone(pI830->drmSubFD, DRM_I915_GEM_THROTTLE); - return 1; } Bool I830DRI2ScreenInit(ScreenPtr pScreen)