Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Save opaque alpha in the destination, fixes white spotlight in testal…
Browse files Browse the repository at this point in the history
…pha on Mac OS X.
  • Loading branch information
slouken committed Dec 1, 2008
1 parent 0e87f66 commit 9d8ae1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_RLEaccel.c
Expand Up @@ -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)

/*
Expand Down

0 comments on commit 9d8ae1e

Please sign in to comment.