Comment fix.

dev-ui
Programerus 2012-03-20 18:41:22 +01:00
parent 32da233476
commit 4856b98310
1 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,9 @@
// * GNU General Public License for more details. // * GNU General Public License for more details.
// * // *
// * You should have received a copy of the GNU General Public License // * You should have received a copy of the GNU General Public License
// * along with this program. If not, see http://www.gnu.org/licenses/.//----------------------------------------------------------------------------- // * along with this program. If not, see http://www.gnu.org/licenses/.
//-----------------------------------------------------------------------------
// File: D3DTextr.cpp // File: D3DTextr.cpp
// //
// Desc: Functions to manage textures, including creating (loading from a // Desc: Functions to manage textures, including creating (loading from a
@ -469,7 +471,7 @@ HRESULT TextureContainer::LoadTargaFile( TCHAR* strMetaname, TCHAR* strFilename
for( DWORD i=0; i<(m_dwWidth*m_dwHeight); i++ ) for( DWORD i=0; i<(m_dwWidth*m_dwHeight); i++ )
{ {
//? if( m_pRGBAData[i] & 0x000000ff != 0xff ) //? if( m_pRGBAData[i] & 0x000000ff != 0xff )
if( (m_pRGBAData[i] & 0x000000ff) != 0xff ) // erreur corrigée ! if( (m_pRGBAData[i] & 0x000000ff) != 0xff ) // erreur corrig<EFBFBD>e !
{ {
m_bHasAlpha = TRUE; m_bHasAlpha = TRUE;
break; break;