mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Fix incorrect src pixel offset in overlay composition
Currently harmless because no overlay has a non-zero X coordinate.
This commit is contained in:
1 parent
88719cc8bf
commit
09f8e7117b
1 file changed
+1
-1
@@ -1469,7 +1469,7 @@ void DrmRenderer::blitOverlayToCompositionSurface(Overlay::OverlayType type, SDL
|
||||
|
||||
// Copy the overlay into the intersection
|
||||
memcpy(dstPixelRow + (overlayRect->x * bpp),
|
||||
srcPixelRow + (overlayRect->x * bpp),
|
||||
srcPixelRow,
|
||||
overlayRect->w * bpp);
|
||||
|
||||
// Clear columns after the intersection
|
||||
|
||||
Reference in new issue
Block a user