src/video/SDL_video.c
changeset 313 67ad846ed21c
parent 306 3879bed3395c
child 371 db0cc6034336
     1.1 --- a/src/video/SDL_video.c	Wed Mar 20 02:37:38 2002 +0000
     1.2 +++ b/src/video/SDL_video.c	Wed Mar 20 02:37:44 2002 +0000
     1.3 @@ -844,7 +844,7 @@
     1.4  		return(NULL);
     1.5  	}
     1.6  	/* Set the flags appropriate for copying to display surface */
     1.7 -	if ((SDL_PublicSurface->flags&SDL_HWSURFACE == SDL_HWSURFACE) && current_video->info.blit_hw)
     1.8 +	if (((SDL_PublicSurface->flags&SDL_HWSURFACE) == SDL_HWSURFACE) && current_video->info.blit_hw)
     1.9  		flags = SDL_HWSURFACE;
    1.10  	else 
    1.11  		flags = SDL_SWSURFACE;