Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/painting/qdrawhelper.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    13651365            PRELOAD_COND2(dest, src)
    13661366            uint s = src[i];
    1367             dest[i] = s + BYTE_MUL(dest[i], qAlpha(~s));
     1367            if (s >= 0xff000000)
     1368                dest[i] = s;
     1369            else if (s != 0)
     1370                dest[i] = s + BYTE_MUL(dest[i], qAlpha(~s));
    13681371        }
    13691372    } else {
Note: See TracChangeset for help on using the changeset viewer.