diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-05-10 17:27:44 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2024-05-10 17:27:44 +0200 |
| commit | d18e880a8d621a3e34757f17d43cd7e787131c2f (patch) | |
| tree | d69e340076dbfba8651fcfbcd2774f0f99235be1 /tests | |
| parent | 425aac7cce0d5cf0cfe147d55b4a88db7f738e6f (diff) | |
ETC2 pixel format cleanup:
- renamed SG_PIXELFORMAT_ETC2_RG11[SN] to SG_PIXELFORMAT_EAC_RG11[SN]
- new formats SG_PIXELFORMAT_EAC_R11[SN]
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/functional/sokol_gfx_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/functional/sokol_gfx_test.c b/tests/functional/sokol_gfx_test.c index 75356056..121b3d0f 100644 --- a/tests/functional/sokol_gfx_test.c +++ b/tests/functional/sokol_gfx_test.c @@ -2928,8 +2928,10 @@ UTEST(sokol_gfx, query_pixelformat_bytesperpixel) { T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RGB8).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RGB8A1).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RGBA8).bytes_per_pixel == 0); - T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RG11).bytes_per_pixel == 0); - T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RG11SN).bytes_per_pixel == 0); + T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11).bytes_per_pixel == 0); + T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11SN).bytes_per_pixel == 0); + T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11).bytes_per_pixel == 0); + T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11SN).bytes_per_pixel == 0); sg_shutdown(); } |