Windows: Add fallback for UpdateLayeredWindowIndirect
authorJonathan Liu <net147@gmail.com>
Mon, 31 Dec 2012 07:31:19 +0000 (18:31 +1100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 4 Jan 2013 12:20:06 +0000 (13:20 +0100)
commitd75b21790162694ce5f595ddf330af06df09644b
tree45eef341b6a25bd2c02e6d2e3dddb9c9273bac3c
parent4250fa2cf607a21dedc0588497498f82e77fb390
Windows: Add fallback for UpdateLayeredWindowIndirect

The UpdateLayeredWindowIndirect function is only available on Windows
Vista and later. If UpdateLayeredWindowIndirect is not available
(e.g. on Windows XP), use UpdateLayeredWindow instead.

Change-Id: I8af23c051560f7e54eda390dae7553543c00a94b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/plugins/platforms/windows/qwindowsbackingstore.cpp