summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-30 09:07:57 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-30 09:07:57 +0000
commitc10850c63f9f88fbf08135bc4dcef1e5a2c71ee6 (patch)
tree2e4d597d012d8678ee16aacc5aab13b7f725b4f8 /src/i830_video.c
parent3f11bbec420080151406c203af292e55177e77d1 (diff)
overlay: Fix build after 646b4a9483
The compile cleanup was not without fault... Apparently I don't have XVMC enabled anymore and so missed that this variable is actually used. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index dd3aefa3..b0403d40 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -1440,6 +1440,7 @@ i830_copy_video_data(ScrnInfoPtr scrn, intel_adaptor_private *adaptor_priv,
INT32 x1, INT32 y1, INT32 x2, INT32 y2,
int id, unsigned char *buf)
{
+ intel_screen_private *intel = intel_get_screen_private(scrn);
int srcPitch = 0, srcPitch2 = 0;
int top, left, npixels, nlines, size;