tree 5b46fd5b8c94
parent 971b278f0756 author Edward Rudd <urkle@outoforder.cc> 1358022907 18000 committer Edward Rudd <urkle@outoforder.cc> 1358022907 18000 revision 6819 branch default Remove some redundant assigns
This commit is contained in:
parent
c54822142d
commit
a1afe6c175
4 changed files with 1 additions and 4 deletions
|
@ -258,7 +258,7 @@ static void
|
|||
BlitRGBtoRGBSurfaceAlphaMMX(SDL_BlitInfo * info)
|
||||
{
|
||||
SDL_PixelFormat *df = info->dst_fmt;
|
||||
Uint32 chanmask = df->Rmask | df->Gmask | df->Bmask;
|
||||
Uint32 chanmask;
|
||||
unsigned alpha = info->a;
|
||||
|
||||
if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) {
|
||||
|
|
|
@ -71,7 +71,6 @@ SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitm
|
|||
SDL_Color key;
|
||||
if(SDL_MUSTLOCK(shape))
|
||||
SDL_LockSurface(shape);
|
||||
pixel = (Uint8*)shape->pixels;
|
||||
for(y = 0;y<shape->h;y++) {
|
||||
for(x=0;x<shape->w;x++) {
|
||||
alpha = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue