diff --git a/graphics/tinygl/zblit.cpp b/graphics/tinygl/zblit.cpp index 55335a30844..d014d462415 100644 --- a/graphics/tinygl/zblit.cpp +++ b/graphics/tinygl/zblit.cpp @@ -388,6 +388,7 @@ FORCEINLINE void BlitImage::tglBlitSimple(int dstX, int dstY, int srcX, int srcY } } +// This function is called when scale is needed: it uses a simple nearest filter to scale the blit image before copying it to the screen. template FORCEINLINE void BlitImage::tglBlitScale(int dstX, int dstY, int width, int height, int srcX, int srcY, int srcWidth, int srcHeight, float aTint, float rTint, float gTint, float bTint) {