diff src/video/SDL_video.c @ 313:67ad846ed21c

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 20 Mar 2002 02:37:44 +0000
parents 3879bed3395c
children db0cc6034336
line wrap: on
line diff
--- a/src/video/SDL_video.c	Wed Mar 20 02:37:38 2002 +0000
+++ b/src/video/SDL_video.c	Wed Mar 20 02:37:44 2002 +0000
@@ -844,7 +844,7 @@
 		return(NULL);
 	}
 	/* Set the flags appropriate for copying to display surface */
-	if ((SDL_PublicSurface->flags&SDL_HWSURFACE == SDL_HWSURFACE) && current_video->info.blit_hw)
+	if (((SDL_PublicSurface->flags&SDL_HWSURFACE) == SDL_HWSURFACE) && current_video->info.blit_hw)
 		flags = SDL_HWSURFACE;
 	else 
 		flags = SDL_SWSURFACE;