summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-06 15:22:26 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-08 21:34:21 +0100
commite3e58123d36924c760ab6f58a7155a040422e91d (patch)
tree683b2db2d53d8abe790d34e431ddc7747d5639ff /src/sna/sna_render.c
parent5d2f88fd9972c62c87098ddc7fee7b6f0cea0fdb (diff)
sna: Fixup fb wrapper
To accommodate changes in the Xserver and avoid breakage; would have been much easier had the fb been exported in the first place.
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r--src/sna/sna_render.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c
index c22965c7..f6a562b0 100644
--- a/src/sna/sna_render.c
+++ b/src/sna/sna_render.c
@@ -28,8 +28,7 @@
#include "sna.h"
#include "sna_render.h"
#include "sna_render_inline.h"
-
-#include <fb.h>
+#include "fb/fbpict.h"
#if DEBUG_RENDER
#undef DBG
@@ -108,7 +107,7 @@ static Bool
no_render_copy_boxes(struct sna *sna, uint8_t alu,
PixmapPtr src, struct kgem_bo *src_bo, int16_t src_dx, int16_t src_dy,
PixmapPtr dst, struct kgem_bo *dst_bo, int16_t dst_dx, int16_t dst_dy,
- const BoxRec *box, int n)
+ const BoxRec *box, int n, unsigned flags)
{
DBG(("%s (n=%d)\n", __FUNCTION__, n));