diff --git a/libs/video/renderer/gl/gl_skin.c b/libs/video/renderer/gl/gl_skin.c index 673a7e399..5b24a7c85 100644 --- a/libs/video/renderer/gl/gl_skin.c +++ b/libs/video/renderer/gl/gl_skin.c @@ -82,6 +82,10 @@ build_skin_8 (byte * original, int tinwidth, int tinheight, unsigned int scaled_width, unsigned int scaled_height, int inwidth, qboolean alpha) { + /* + any improvements in here should be mirrored in + GL_Resample8BitTexture in gl_textures.c + */ byte *inrow; byte pixels[512 * 256], *out; int i, j; @@ -108,6 +112,10 @@ build_skin_32 (byte * original, int tinwidth, int tinheight, unsigned int scaled_width, unsigned int scaled_height, int inwidth, qboolean alpha) { + /* + any improvements in here should be mirrored in + GL_ResampleTexture in gl_textures.c + */ byte *inrow; int i, j; int samples = alpha ? gl_alpha_format : gl_solid_format; diff --git a/libs/video/renderer/gl/gl_textures.c b/libs/video/renderer/gl/gl_textures.c index 1aa29b4c8..498815b86 100644 --- a/libs/video/renderer/gl/gl_textures.c +++ b/libs/video/renderer/gl/gl_textures.c @@ -253,6 +253,10 @@ static void GL_ResampleTexture (unsigned int *in, int inwidth, int inheight, unsigned int *out, int outwidth, int outheight) { + /* + any improvements in here should be mirrored in build_skin_32 in + gl_skin.c + */ int i, j; unsigned int frac, fracstep; unsigned int *inrow; @@ -275,6 +279,10 @@ static void GL_Resample8BitTexture (unsigned char *in, int inwidth, int inheight, unsigned char *out, int outwidth, int outheight) { + /* + any improvements in here should be mirrored in build_skin_8 in + gl_skin.c + */ unsigned char *inrow; int i, j; unsigned int frac, fracstep;