Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Save opaque alpha in the destination, fixes white spotlight in testal…

…pha on Mac OS X.
  • Loading branch information
slouken committed Dec 1, 2008
1 parent 0e87f66 commit 9d8ae1e611e2e11ace62619eafe3f9943f609f44
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_RLEaccel.c
@@ -971,7 +971,7 @@ SDL_RLEBlit(SDL_Surface * src, SDL_Rect * srcrect,
s &= 0xff00; \
d &= 0xff00; \
d = (d + ((s - d) * alpha >> 8)) & 0xff00; \
dst = d1 | d; \
dst = d1 | d | 0xff000000; \
} while(0)

/*

0 comments on commit 9d8ae1e

Please sign in to comment.