From a7a2884c30a92654b676be05338947f7555bba58 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 6 Sep 2025 12:10:37 -0700 Subject: Tidy --- include/isogfx/asset.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/isogfx/asset.h b/include/isogfx/asset.h index 361ffcd..cc70ee3 100644 --- a/include/isogfx/asset.h +++ b/include/isogfx/asset.h @@ -154,7 +154,7 @@ static inline const Pixel* ts_tile_get_pixels( } /// Return the tile's pixel at (x,y). -static const Pixel* ts_tile_xy( +static inline const Pixel* ts_tile_xy( const Pixel* tile_pixels, const Ts_Tile* tile, int x, int y) { assert(tile_pixels); assert(tile); @@ -166,9 +166,9 @@ static const Pixel* ts_tile_xy( } /// Return the tile's pixel at (x,y). -static Pixel* ts_tile_xy_mut( - const Pixel* pixels, const Ts_Tile* tile, int x, int y) { - return (Pixel*)ts_tile_xy(pixels, tile, x, y); +static inline Pixel* ts_tile_xy_mut( + Pixel* tile_pixels, const Ts_Tile* tile, int x, int y) { + return (Pixel*)ts_tile_xy(tile_pixels, tile, x, y); } /// Return the ith layer in the tile map. -- cgit v1.2.3