1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-07 16:48:40 +00:00

Split up tile.cpp/h

This commit is contained in:
cx384 2024-02-27 10:56:22 +01:00 committed by SmallJoker
parent cdce33dd05
commit aaf77025b6
34 changed files with 2851 additions and 2801 deletions

View file

@ -41,3 +41,11 @@ void imageCleanTransparent(video::IImage *src, u32 threshold);
* 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);