aboutsummaryrefslogtreecommitdiff
path: root/test/core.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-08-03 18:28:54 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-08-03 18:28:54 +0200
commit32363715f79b5e06804f6302bc53496344ea5c6d (patch)
tree4580831fe287324516f666145692766e97ac8c99 /test/core.c
parent5633cfaf0b2cf3152ccdb8154c42e497e91c90b0 (diff)
downloadd2tk-32363715f79b5e06804f6302bc53496344ea5c6d.tar.xz
add revision property to bitmap primitive.
Diffstat (limited to 'test/core.c')
-rw-r--r--test/core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core.c b/test/core.c
index 7c5b45a..76c7a3f 100644
--- a/test/core.c
+++ b/test/core.c
@@ -1213,8 +1213,10 @@ _test_bitmap()
}
}
+ const uint64_t rev = 0;
+
d2tk_core_bitmap(core, &D2TK_RECT(BITMAP_X, BITMAP_Y, BITMAP_W, BITMAP_H),
- BITMAP_WIDTH, BITMAP_HEIGHT, BITMAP_STRIDE, surf, BITMAP_ALIGN);
+ BITMAP_WIDTH, BITMAP_HEIGHT, BITMAP_STRIDE, surf, rev, BITMAP_ALIGN);
d2tk_core_bbox_pop(core, ref);
d2tk_core_post(core);