diff options
-rw-r--r-- | src/video/SDL_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index b226e0376..46285c990 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -987,7 +987,7 @@ SDL_Surface *SDL_DisplayFormatAlpha(SDL_Surface *surface) if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) { rmask = 0xff; bmask = 0xff0000; - } else if ( vf->Rmask == 0xFF00 && (vf->Bmask = 0xFF000000) ) { + } else if ( vf->Rmask == 0xFF00 && (vf->Bmask == 0xFF000000) ) { amask = 0x000000FF; rmask = 0x0000FF00; gmask = 0x00FF0000; |