- moved the scale overrider to v_draw.h.

This commit is contained in:
Christoph Oelckers 2020-04-21 21:23:04 +02:00
commit f17617706d
9 changed files with 65 additions and 61 deletions

View file

@ -336,12 +336,6 @@ void V_OutputResized (int width, int height)
primaryLevel->automap->NewResolution();
}
void V_CalcCleanFacs (int designwidth, int designheight, int realwidth, int realheight, int *cleanx, int *cleany, int *_cx1, int *_cx2)
{
if (designheight < 240 && realheight >= 480) designheight = 240;
*cleanx = *cleany = std::min(realwidth / designwidth, realheight / designheight);
}
bool IVideo::SetResolution ()
{
DFrameBuffer *buff = CreateFrameBuffer();