1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Clean up TextureSource and related code

This commit is contained in:
sfan5 2025-04-20 11:08:00 +02:00
parent 0bdd5f294e
commit b841c23701
5 changed files with 43 additions and 67 deletions

View file

@ -39,11 +39,3 @@ video::SColor imageAverageColor(const video::IImage *img);
* and downscaling.
*/
void imageScaleNNAA(video::IImage *src, const core::rect<s32> &srcrect, video::IImage *dest);
/* Check and align image to npot2 if required by hardware
* @param image image to check for npot2 alignment
* @param driver driver to use for image operations
* @return image or copy of image aligned to npot2
*/
video::IImage *Align2Npot2(video::IImage *image, video::IVideoDriver *driver);