From 14be9f22bdee7c86143d45d8eab04d8bb0ecce31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Mon, 19 Apr 2010 15:15:17 +0000 Subject: [PATCH] [WIN32K] - HW accelerated StretchBlt when possible in EngAlphaBlend svn path=/branches/reactos-yarotows/; revision=46941 --- subsystems/win32/win32k/eng/alphablend.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/subsystems/win32/win32k/eng/alphablend.c b/subsystems/win32/win32k/eng/alphablend.c index d54af52e695..410f7224f2f 100644 --- a/subsystems/win32/win32k/eng/alphablend.c +++ b/subsystems/win32/win32k/eng/alphablend.c @@ -139,12 +139,7 @@ EngAlphaBlend(IN SURFOBJ *psoDest, SourceStretchedRect.right = SourceStretchedSize.cx; SourceStretchedRect.top = 0; SourceStretchedRect.bottom = SourceStretchedSize.cy; - /* FIXME: IntEngStretchBlt isn't used here atm because it results in a - try to acquire an already acquired mutex (lock the already locked source surface) */ - /*if (!IntEngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL, - NULL, &SourceStretchedRect, SourceRect, NULL, - NULL, NULL, COLORONCOLOR))*/ - if (!EngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL, NULL, + if (!IntEngStretchBlt(SourceStretchedObj, psoSource, NULL, NULL, NULL, NULL, NULL, &SourceStretchedRect, &InputRect, NULL, COLORONCOLOR)) {