summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-12-08 10:33:13 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-12-08 10:36:23 +0800
commit6ca0d7e6ff05bff2bb88bfae64c2d79ac115bd38 (patch)
treee9c5770fcc80e047f7d79cf6d524b19142c027aa /src
parente0149c6189e422d74453144260317cdb30c86dcc (diff)
Fix DRI2 compiling warning
(cherry picked from commit 768f317cf0da4cd6682af2e71e71c3e130e05182)
Diffstat (limited to 'src')
-rw-r--r--src/i830_dri.c3
1 files changed, 1 insertions, 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)