1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 07:43:50 +00:00

Changed bitblit mode of remote cursor rendering, to SRCINVERT

This commit is contained in:
Bryan Roe
2020-02-27 14:11:49 -08:00
parent b3e5bb0025
commit e90fc18f67

View File

@@ -522,7 +522,7 @@ int get_desktop_buffer(void **buffer, long long *bufferSize, long* mouseMove)
HGDIOBJ hbmold = SelectObject(hdcMem, hbmCanvas);
DrawIconEx(hdcMem, 0, 0, info.hCursor, bm.bmWidth, ii.hbmColor ? bm.bmHeight : (bm.bmHeight / 2), 0, NULL, DI_NORMAL);
BitBlt(hCaptureDC, mouseMove[1], mouseMove[2], bm.bmWidth, ii.hbmColor ? bm.bmHeight : (bm.bmHeight / 2), hdcMem, 0, 0, SRCPAINT);
BitBlt(hCaptureDC, mouseMove[1], mouseMove[2], bm.bmWidth, ii.hbmColor ? bm.bmHeight : (bm.bmHeight / 2), hdcMem, 0, 0, SRCINVERT);
SelectObject(hdcMem, hbmold);
}