mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +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:
@@ -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