update comment

This commit is contained in:
Glenn Maynard
2004-08-08 17:17:11 +00:00
parent d47ab7e9f9
commit de4b0cc408
+5 -8
View File
@@ -591,14 +591,11 @@ void RageSurfaceUtils::Blit( RageSurface *src, RageSurface *dst, int width, int
width = min(src->w, dst->w); width = min(src->w, dst->w);
height = min(src->h, dst->h); height = min(src->h, dst->h);
/* Types of blits: /*
* RGBA->RGBA, same format without colorkey * Types of blits:
* RGBA->RGBA, same format with colorkey * RGBA->RGBA or PAL->PAL, same format (possibly different pitch)
* PAL->PAL; ignore colorkey flag * RGBA->RGBA different formats
* RGBA->RGBA different format without colorkey * PAL->RGBA
* RGBA->RGBA different format with colorkey
* PAL->RGBA with colorkey
* PAL->RGBA without colorkey
*/ */
if( src->format->BytesPerPixel == dst->format->BytesPerPixel && if( src->format->BytesPerPixel == dst->format->BytesPerPixel &&
src->format->Rmask == dst->format->Rmask && src->format->Rmask == dst->format->Rmask &&