Fix incorrect src pixel offset in overlay composition

Currently harmless because no overlay has a non-zero X coordinate.
This commit is contained in:
Cameron Gutman
2026-01-11 01:40:32 -06:00
parent 88719cc8bf
commit 09f8e7117b

View File

@@ -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