mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fix wrong comment
This commit is contained in:
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
Block a user