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
commit 09f8e7117b

View file

@ -1469,7 +1469,7 @@ void DrmRenderer::blitOverlayToCompositionSurface(Overlay::OverlayType type, SDL
// Copy the overlay into the intersection // Copy the overlay into the intersection
memcpy(dstPixelRow + (overlayRect->x * bpp), memcpy(dstPixelRow + (overlayRect->x * bpp),
srcPixelRow + (overlayRect->x * bpp), srcPixelRow,
overlayRect->w * bpp); overlayRect->w * bpp);
// Clear columns after the intersection // Clear columns after the intersection