]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins2/win32/win32_graphics.cpp: small fix.
authorGildas Bazin <gbazin@videolan.org>
Wed, 28 Jan 2004 15:51:16 +0000 (15:51 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 28 Jan 2004 15:51:16 +0000 (15:51 +0000)
modules/gui/skins2/win32/win32_graphics.cpp

index d8d4b8070f56eb990e1db9d72d1fc4e8a3413ace..541c91d2925209e8ab60d606edbd99055e46ca1b 100755 (executable)
@@ -2,7 +2,7 @@
  * win32_graphics.cpp
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: win32_graphics.cpp,v 1.3 2004/01/27 21:12:42 gbazin Exp $
+ * $Id: win32_graphics.cpp,v 1.4 2004/01/28 15:51:16 gbazin Exp $
  *
  * Authors: Cyril Deguet     <asmax@via.ecp.fr>
  *          Olivier Teulière <ipkiss@via.ecp.fr>
@@ -184,8 +184,8 @@ void Win32Graphics::drawBitmap( const GenericBitmap &rBitmap,
                                int, int, BLENDFUNCTION );
     AlphaBlend = ((Win32Factory*)OSFactory::instance( getIntf() ))->AlphaBlend;
     if( AlphaBlend &&
-        AlphaBlend( m_hDC, xDest, yDest, width, height, hDC, 0, 0,
-                    width, height, bf ) )
+        !AlphaBlend( m_hDC, xDest, yDest, width, height, hDC, 0, 0,
+                     width, height, bf ) )
     {
         msg_Err( getIntf(), "AlphaBlend() failed" );
     }