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:
parent
0bdd5f294e
commit
b841c23701
5 changed files with 43 additions and 67 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue