aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/assets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/assets.c')
-rw-r--r--src/sdl/assets.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sdl/assets.c b/src/sdl/assets.c
index 12c7be8..abb9906 100644
--- a/src/sdl/assets.c
+++ b/src/sdl/assets.c
@@ -191,7 +191,6 @@ static const uint8_t sprites_png[] = {
0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
};
-static const size_t sprites_png_len = 2256;
static const uint8_t roboto_ttf[] = {
0x00, 0x01, 0x00, 0x00, 0x00, 0x12, 0x01, 0x00, 0x00, 0x04, 0x00, 0x20,
0x47, 0x44, 0x45, 0x46, 0xb4, 0x42, 0xb0, 0x82, 0x00, 0x02, 0x28, 0xdc,
@@ -14501,15 +14500,14 @@ static const uint8_t roboto_ttf[] = {
0x02, 0x42, 0x02, 0x43, 0x02, 0x44, 0x00, 0x02, 0x00, 0x01, 0x00, 0x14,
0x00, 0x1d, 0x00, 0x00
};
-static const size_t roboto_ttf_len = 171676;
static const asset_t
ASSETS[] = {{
.buf = sprites_png,
- .len = sprites_png_len,
+ .len = sizeof(sprites_png),
}, {
.buf = roboto_ttf,
- .len = roboto_ttf_len,
+ .len = sizeof(roboto_ttf),
}};
const asset_t *