diff src/video/win32/SDL_gdirender.c @ 2735:204be4fc2726

Final merge of Google Summer of Code 2008 work... Port SDL 1.3 to the Nintendo DS by Darren Alton, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 15:10:03 +0000
parents 926294b2bb4e
children 5651642f4a78
line wrap: on
line diff
--- a/src/video/win32/SDL_gdirender.c	Wed Aug 27 13:37:19 2008 +0000
+++ b/src/video/win32/SDL_gdirender.c	Wed Aug 27 15:10:03 2008 +0000
@@ -620,9 +620,8 @@
         SelectPalette(data->memory_hdc, texturedata->hpal, TRUE);
         RealizePalette(data->memory_hdc);
     }
-    if (texture->
-        blendMode & (SDL_TEXTUREBLENDMODE_MASK | SDL_TEXTUREBLENDMODE_BLEND))
-    {
+    if (texture->blendMode &
+        (SDL_TEXTUREBLENDMODE_MASK | SDL_TEXTUREBLENDMODE_BLEND)) {
         BLENDFUNCTION blendFunc = {
             AC_SRC_OVER,
             0,