From 84d17ad01f09cea30ee0bd015112d23c834cfcf2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 2 Oct 2022 07:56:38 +0200 Subject: Do not use seams hack when using mpv --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 268a86d..1f28de4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2000,7 +2000,8 @@ void CMainApplication::AddCubeToScene( const glm::mat4 &mat, std::vector if(stretch) arrow_ratio = width_ratio * 2.0; } else if (projection_mode == ProjectionMode::SPHERE360) { - border_width_return += 2; // Meh, hac k to deal with seams a bit + if(!mpv_file) + border_width_return += 2; // Meh, hac k to deal with seams a bit double px = (double)border_width_return / (double)pixmap_texture_width; double py = (double)border_width_return / (double)pixmap_texture_height; -- cgit v1.2.3