From d91383ee4057a2fc6fc2fb80144abb34273a6d7f Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 25 Oct 2014 14:58:31 -0400 Subject: Remove 1280x1000 scaling. We already have 1280x960, which is the correct aspect ratio. This means that when running at 1080p the windowboxing borders will be slightly thicker, but if we're already showing borders anyway, it's better to at least use the correct aspect ratio. This fixes #460. Thanks to Doom_user for asking about this on Doomworld: http://www.doomworld.com/vb/post/1316735 --- src/i_scale.c | 73 ++++++----------------------------------------------- src/i_scale.h | 2 +- src/i_video.c | 1 - src/setup/display.c | 1 - 4 files changed, 9 insertions(+), 68 deletions(-) diff --git a/src/i_scale.c b/src/i_scale.c index f88c6944..4d7bb22c 100644 --- a/src/i_scale.c +++ b/src/i_scale.c @@ -1384,69 +1384,12 @@ screen_mode_t mode_squash_4x = { false, }; -#define DRAW_PIXEL5 \ - *dest++ = *dest2++ = *dest3++ = *dest4++ = *dest5++ = c - -static inline void WriteSquashedLine5x(byte *dest, byte *src) -{ - int x; - int c; - byte *dest2, *dest3, *dest4, *dest5; - - dest2 = dest + dest_pitch; - dest3 = dest + dest_pitch * 2; - dest4 = dest + dest_pitch * 3; - dest5 = dest + dest_pitch * 4; - - for (x=0; x