summaryrefslogtreecommitdiff
path: root/src/r128_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r128_video.c')
-rw-r--r--src/r128_video.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/r128_video.c b/src/r128_video.c
index 7f4912f..c814e49 100644
--- a/src/r128_video.c
+++ b/src/r128_video.c
@@ -4,6 +4,8 @@
#include "config.h"
#endif
+#include <string.h>
+
#include "r128.h"
#include "r128_reg.h"
@@ -35,7 +37,7 @@ static void R128QueryBestSize(ScrnInfoPtr, Bool, short, short, short, short,
unsigned int *, unsigned int *, pointer);
static int R128PutImage(ScrnInfoPtr, short, short, short, short, short,
short, short, short, int, unsigned char*, short,
- short, Bool, RegionPtr, pointer);
+ short, Bool, RegionPtr, pointer, DrawablePtr);
static int R128QueryImageAttributes(ScrnInfoPtr, int, unsigned short *,
unsigned short *, int *, int *);
@@ -769,7 +771,8 @@ R128PutImage(
int id, unsigned char* buf,
short width, short height,
Bool Sync,
- RegionPtr clipBoxes, pointer data
+ RegionPtr clipBoxes, pointer data,
+ DrawablePtr pDraw
){
R128InfoPtr info = R128PTR(pScrn);
R128PortPrivPtr pPriv = (R128PortPrivPtr)data;