[Scummvm-git-logs] scummvm master -> 25ab3de81b8e2ef4673a9dc56c82406a7b3faab4

sev- noreply at scummvm.org
Mon Mar 3 07:38:25 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
25ab3de81b VIDEO: QTVR: Reduce rendering artefacts


Commit: 25ab3de81b8e2ef4673a9dc56c82406a7b3faab4
    https://github.com/scummvm/scummvm/commit/25ab3de81b8e2ef4673a9dc56c82406a7b3faab4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-03-03T08:38:13+01:00

Commit Message:
VIDEO: QTVR: Reduce rendering artefacts

Changed paths:
    video/qtvr_decoder.cpp


diff --git a/video/qtvr_decoder.cpp b/video/qtvr_decoder.cpp
index 6e4a80797c7..5266adc45ed 100644
--- a/video/qtvr_decoder.cpp
+++ b/video/qtvr_decoder.cpp
@@ -918,7 +918,7 @@ void QuickTimeDecoder::PanoTrackHandler::projectPanorama() {
 		float yInterpolator = sideEdgeXYInterpolators[y * 2 + 1];
 
 		int32 srcY = static_cast<int32>(yInterpolator * (float)h);
-		int32 scanlineWidth = static_cast<int32>(xInterpolator * w);
+		int32 scanlineWidth = static_cast<int32>(xInterpolator * w) / 2 * 2;
 		int32 startX = (w - scanlineWidth) / 2;
 		//int32 endX = startX + scanlineWidth;
 




More information about the Scummvm-git-logs mailing list