[PATCH 3/9] gdi32: Use NtGdiGetRandomRgn for GetClipRgn.

Jacek Caban jacek at codeweavers.com
Thu Sep 2 07:14:00 CDT 2021


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
I couldn't find a way to get what we need from ntgdi without an 
extension. Technically, we could mirror the region on gdi32 side, but 
that seems suboptimal.

  dlls/gdi32/clipping.c       | 36 ++++++++----------------------------
  dlls/gdi32/gdidc.c          |  8 ++++++++
  dlls/gdi32/tests/clipping.c |  7 ++++++-
  include/ntgdi.h             |  3 +++
  4 files changed, 25 insertions(+), 29 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-gdi32-Use-NtGdiGetRandomRgn-for-GetClipRgn.txt
Type: text/x-patch
Size: 4015 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210902/1cdf998b/attachment.bin>


More information about the wine-devel mailing list