update comment
This commit is contained in:
@@ -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 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user