From 73c7e513912704e91fac53fab72f874767a5b594 Mon Sep 17 00:00:00 2001 From: Michael Labbe Date: Wed, 2 Mar 2016 12:07:11 -0800 Subject: [PATCH] fix: 21:9 AR stretching in intermission, end level screens --- src/v_draw.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/v_draw.cpp b/src/v_draw.cpp index eeb1a7d9c..ca9f9ae72 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -744,6 +744,13 @@ void DCanvas::VirtualToRealCoords(double &x, double &y, double &w, double &h, double vwidth, double vheight, bool vbottom, bool handleaspect) const { int myratio = handleaspect ? CheckRatio (Width, Height) : 0; + + // if 21:9 AR, map to 16:9 for all callers. + // this allows for black bars and stops the stretching of fullscreen images + if (myratio == 6) { + myratio = 2; + } + double right = x + w; double bottom = y + h;