Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(win): draw the DXGI cursor at its real size
EtienneLescot1b8d3f5272bf
diff --git a/electron/native/wgc-capture/src/dxgi_duplication_session.cpp b/electron/native/wgc-capture/src/dxgi_duplication_session.cppindex e4a4b8c07..dc632c24f 100644--- a/electron/native/wgc-capture/src/dxgi_duplication_session.cpp+++ b/electron/native/wgc-capture/src/dxgi_duplication_session.cpp@@ -333,7 +333,7 @@ void DxgiDuplicationSession::drawCursor() {// look the way they do on screen.DrawIconEx(dc, ci.ptScreenPos.x - desktopRect_.left - static_cast<int>(icon.xHotspot),ci.ptScreenPos.y - desktopRect_.top - static_cast<int>(icon.yHotspot), ci.hCursor, 0,- 0, 0, nullptr, DI_NORMAL | DI_DEFAULTSIZE);+ 0, 0, nullptr, DI_NORMAL);surface->ReleaseDC(nullptr);}