Commit fddcb08d authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/skins2/win32/win32_graphics.cpp: small fix.

parent c56aefce
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* win32_graphics.cpp * win32_graphics.cpp
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * 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> * Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr> * Olivier Teulire <ipkiss@via.ecp.fr>
...@@ -184,8 +184,8 @@ void Win32Graphics::drawBitmap( const GenericBitmap &rBitmap, ...@@ -184,8 +184,8 @@ void Win32Graphics::drawBitmap( const GenericBitmap &rBitmap,
int, int, BLENDFUNCTION ); int, int, BLENDFUNCTION );
AlphaBlend = ((Win32Factory*)OSFactory::instance( getIntf() ))->AlphaBlend; AlphaBlend = ((Win32Factory*)OSFactory::instance( getIntf() ))->AlphaBlend;
if( AlphaBlend && if( AlphaBlend &&
AlphaBlend( m_hDC, xDest, yDest, width, height, hDC, 0, 0, !AlphaBlend( m_hDC, xDest, yDest, width, height, hDC, 0, 0,
width, height, bf ) ) width, height, bf ) )
{ {
msg_Err( getIntf(), "AlphaBlend() failed" ); msg_Err( getIntf(), "AlphaBlend() failed" );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment