summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nv_video.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/nv_video.c b/src/nv_video.c
index c35bff0..33f3bb5 100644
--- a/src/nv_video.c
+++ b/src/nv_video.c
@@ -80,7 +80,12 @@ static int NVGetBlitPortAttribute(ScrnInfoPtr, Atom ,INT32 *, pointer);
static void NVStopOverlayVideo(ScrnInfoPtr, pointer, Bool);
static void NVStopBlitVideo(ScrnInfoPtr, pointer, Bool);
+#if HAVE_XV_DRAWABLE
static int NVPutImage( ScrnInfoPtr, short, short, short, short, short, short, short, short, int, unsigned char*, short, short, Bool, RegionPtr, pointer, DrawablePtr);
+#else
+static int NVPutImage( ScrnInfoPtr, short, short, short, short, short, short, short, short, int, unsigned char*, short, short, Bool, RegionPtr, pointer);
+#endif
+
static void NVQueryBestSize(ScrnInfoPtr, Bool, short, short, short, short, unsigned int *, unsigned int *, pointer);
static int NVQueryImageAttributes(ScrnInfoPtr, int, unsigned short *, unsigned short *, int *, int *);
@@ -1004,8 +1009,10 @@ static int NVPutImage
short height,
Bool Sync,
RegionPtr clipBoxes,
- pointer data,
- DrawablePtr pDraw
+ pointer data
+#if HAVE_XV_DRAWABLE
+ , DrawablePtr pDraw
+#endif
)
{
NVPortPrivPtr pPriv = (NVPortPrivPtr)data;