Fix wrong comment
parent
e5192384d0
commit
0a007a9bea
|
@ -2164,7 +2164,7 @@ BlitNtoN(SDL_BlitInfo * info)
|
||||||
int dstbpp = dstfmt->BytesPerPixel;
|
int dstbpp = dstfmt->BytesPerPixel;
|
||||||
unsigned alpha = dstfmt->Amask ? info->a : 0;
|
unsigned alpha = dstfmt->Amask ? info->a : 0;
|
||||||
|
|
||||||
/* Any src/dst 8888 for CopyAlpha, no ARGB2101010 */
|
/* Any src/dst 8888, no ARGB2101010 */
|
||||||
if (srcbpp == 4 && dstbpp == 4 &&
|
if (srcbpp == 4 && dstbpp == 4 &&
|
||||||
srcfmt->format != SDL_PIXELFORMAT_ARGB2101010 &&
|
srcfmt->format != SDL_PIXELFORMAT_ARGB2101010 &&
|
||||||
dstfmt->format != SDL_PIXELFORMAT_ARGB2101010) {
|
dstfmt->format != SDL_PIXELFORMAT_ARGB2101010) {
|
||||||
|
|
Loading…
Reference in New Issue