add image scaler (box sampling)

This commit is contained in:
Green Sky
2025-11-05 00:01:42 +01:00
parent 2afa7a88a5
commit e8a15a58dd
3 changed files with 152 additions and 0 deletions

6
src/image_scaler.hpp Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#include <SDL3/SDL.h>
bool image_scale(SDL_Surface* dst, SDL_Surface* src);