src/video/quartz/SDL_QuartzWM.m
branchSDL-1.2
changeset 12992 0cfa2cc751eb
parent 6224 6f013dd0add1
     1.1 --- a/src/video/quartz/SDL_QuartzWM.m	Sat Aug 03 12:47:10 2019 +0300
     1.2 +++ b/src/video/quartz/SDL_QuartzWM.m	Sat Aug 03 16:27:46 2019 -0400
     1.3 @@ -55,7 +55,7 @@
     1.4      
     1.5      /* copy data and mask, extending the mask to all black pixels because the inversion effect doesn't work with Cocoa's alpha-blended cursors */
     1.6      for (i = 0; i < (w+7)/8*h; i++) {
     1.7 -        planes[0][i] = data[i] ^ 0xFF;
     1.8 +        planes[0][i] = ~data[i] & mask[i];
     1.9          planes[1][i] = mask[i] | data[i];
    1.10      }
    1.11