Skip to content
Permalink
Browse files

Fix wrong comment

  • Loading branch information
1bsyl committed Feb 7, 2019
1 parent e519238 commit 0a007a9bea12f12de11236398e548e5db0822d95
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_blit_N.c
@@ -2164,7 +2164,7 @@ BlitNtoN(SDL_BlitInfo * info)
int dstbpp = dstfmt->BytesPerPixel;
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 &&
srcfmt->format != SDL_PIXELFORMAT_ARGB2101010 &&
dstfmt->format != SDL_PIXELFORMAT_ARGB2101010) {

0 comments on commit 0a007a9

Please sign in to comment.