Fix incorrect src pixel offset in overlay composition
Currently harmless because no overlay has a non-zero X coordinate.
This commit is contained in:
parent
88719cc8bf
commit
09f8e7117b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue