aboutsummaryrefslogtreecommitdiff
path: root/test/core.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-19 13:53:39 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-19 13:53:39 +0200
commitdf63823a8a8ec6b84576b5bb4da078427ab2a681 (patch)
tree5e9136f01335ab3e7fd113770afa8d221fb788f4 /test/core.c
parent8df0c1ae90f2dd6e42f3bf2ade07d0e7f08f3ad1 (diff)
downloadd2tk-df63823a8a8ec6b84576b5bb4da078427ab2a681.tar.xz
core/base: make bitmap surface premultiplied ARGB
Diffstat (limited to 'test/core.c')
-rw-r--r--test/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core.c b/test/core.c
index 36d1f30..3a8ca81 100644
--- a/test/core.c
+++ b/test/core.c
@@ -1178,7 +1178,7 @@ _check_bitmap(const d2tk_com_t *com, const d2tk_clip_t *clip)
{
const unsigned idx = o + x;
- assert(com->body->bitmap.surf.rgba[idx] == 999 - idx);
+ assert(com->body->bitmap.surf.argb[idx] == 999 - idx);
}
}
}