summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-28 22:58:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-28 22:58:02 +0000
commit2f53fb389c001f68134f514e30e25e91de41fb9d (patch)
tree37b46cf5d4114a05bb7c424c346f5e874796f69f /src
parentdba83dacd2ccbb2ac23b205ce2a872a889fa30bd (diff)
sna: DBG compile fixes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/gen4_vertex.h2
-rw-r--r--src/sna/sna_video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen4_vertex.h b/src/sna/gen4_vertex.h
index 63f21bf0..b6d13748 100644
--- a/src/sna/gen4_vertex.h
+++ b/src/sna/gen4_vertex.h
@@ -17,7 +17,7 @@ gen4_choose_composite_vertex_buffer(const struct sna_composite_op *op)
if (op->mask.bo)
id |= (2 + !op->mask.is_affine) << 2;
DBG(("%s: id=%x (%d, %d)\n", __FUNCTION__, id,
- op->src.is_solid ? 1 : 2 + !op->src.is_affine;
+ op->src.is_solid ? 1 : 2 + !op->src.is_affine,
op->mask.bo ? 2 + !op->mask.is_affine : 0));
assert(id > 0 && id < 16);
return id;
diff --git a/src/sna/sna_video.c b/src/sna/sna_video.c
index d5b9c0f0..8d111d54 100644
--- a/src/sna/sna_video.c
+++ b/src/sna/sna_video.c
@@ -449,7 +449,7 @@ sna_video_copy_data(struct sna *sna,
DBG(("%s: handle=%d, size=%dx%d [%d], rotation=%d, is-texture=%d\n",
__FUNCTION__, frame->bo ? frame->bo->handle : 0,
- frame->width, frame->height, frame->size
+ frame->width, frame->height, frame->size,
video->rotation, video->textured));
DBG(("%s: image=(%d, %d), (%d, %d), source=(%d, %d), (%d, %d)\n",
__FUNCTION__,