aboutsummaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-03-18 16:18:29 +0100
committerAndre Weissflog <floooh@gmail.com>2023-03-18 16:18:29 +0100
commit35fbc3c90604e8d3129db0a985cc43a9d56e37a3 (patch)
treea77fd1abb478e0399dfc57abc77a33db33b3096a /tests/functional
parent06e31ae377ccdfd613b1a00665cbe4d0c13fc5aa (diff)
fix sokol_spine.h tests (caused by different spine runtime defaults
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/sokol_spine_test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/sokol_spine_test.c b/tests/functional/sokol_spine_test.c
index eeabca0a..0063fff8 100644
--- a/tests/functional/sokol_spine_test.c
+++ b/tests/functional/sokol_spine_test.c
@@ -176,8 +176,8 @@ UTEST(sokol_spine, atlas_image_info) {
T(strcmp(img_info.filename.cstr, "spineboy.png") == 0);
T(img_info.min_filter == SG_FILTER_LINEAR);
T(img_info.mag_filter == SG_FILTER_LINEAR);
- T(img_info.wrap_u == SG_WRAP_MIRRORED_REPEAT);
- T(img_info.wrap_v == SG_WRAP_MIRRORED_REPEAT);
+ T(img_info.wrap_u == SG_WRAP_CLAMP_TO_EDGE);
+ T(img_info.wrap_v == SG_WRAP_CLAMP_TO_EDGE);
T(img_info.width == 1024);
T(img_info.height == 256);
T(img_info.premul_alpha == false);
@@ -593,8 +593,8 @@ UTEST(sokol_spine, get_atlas_page_info) {
T(strcmp(info.image.filename.cstr, "spineboy.png") == 0);
T(info.image.min_filter == SG_FILTER_LINEAR);
T(info.image.mag_filter == SG_FILTER_LINEAR);
- T(info.image.wrap_u == SG_WRAP_MIRRORED_REPEAT);
- T(info.image.wrap_v == SG_WRAP_MIRRORED_REPEAT);
+ T(info.image.wrap_u == SG_WRAP_CLAMP_TO_EDGE);
+ T(info.image.wrap_v == SG_WRAP_CLAMP_TO_EDGE);
T(info.image.width == 1024);
T(info.image.height == 256);
T(info.image.premul_alpha == false);
@@ -652,8 +652,8 @@ UTEST(sokol_spine, atlas_get_atlas_page_info_with_overrides) {
T(strcmp(info.image.filename.cstr, "spineboy.png") == 0);
T(info.image.min_filter == SG_FILTER_LINEAR);
T(info.image.mag_filter == SG_FILTER_LINEAR);
- T(info.image.wrap_u == SG_WRAP_MIRRORED_REPEAT);
- T(info.image.wrap_v == SG_WRAP_MIRRORED_REPEAT);
+ T(info.image.wrap_u == SG_WRAP_CLAMP_TO_EDGE);
+ T(info.image.wrap_v == SG_WRAP_CLAMP_TO_EDGE);
T(info.image.width == 1024);
T(info.image.height == 256);
T(info.image.premul_alpha == true); // FIXME: hmm, this is actually inconsistent