viti95/FastDoom

Off by 1 error rendering on VESA HighRes new modes (above status bar)

viti95 opened this issue · 2 comments

A line of garbagled data appears above the status bar

[elszgensa] "At first, using the direct rendering builds, I saw flickering (looked like different brightnesses?) on the uppermost line of the status bar; the backbuffered ones had straight up garbage there instead. Saw this across multiple runs at different resolutions..."

I was able to replicate the issue. Steps:

  1. Remove fdoom.cfg
  2. Launch fdm600d.exe or fdm600r.exe

dos4gw_004

This error shows up on all video modes, and happens when the screen border is being used.

There is something wrong in the function HUlib_eraseTextLine (hu_lib.c). If I disable lines 161-172, the bug is fixed.