diff options
Diffstat (limited to 'src/media')
-rw-r--r-- | src/media/UVideo.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index 85655e8e..add7bdc8 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -1075,7 +1075,7 @@ begin HeightFactor := ScreenH / RenderH; glScissor( - round(fPosX*WidthFactor + HeightFactor*(fScreen-1)), + round(fPosX*WidthFactor + (ScreenW/Screens)*(fScreen-1)), round((RenderH-fPosY-fHeight)*HeightFactor), round(fWidth*WidthFactor), round(fHeight*HeightFactor) @@ -1150,7 +1150,7 @@ begin HeightFactor := ScreenH / RenderH; glScissor( - round(fPosX*WidthFactor + HeightFactor*(fScreen-1)), + round(fPosX*WidthFactor + (ScreenW/Screens)*(fScreen-1)), round((RenderH-fPosY-fHeight-fReflectionSpacing-fHeight*ReflectionH)*HeightFactor), round(fWidth*WidthFactor), round(fHeight*HeightFactor*ReflectionH) |