devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

incorrectly drawn door outline

Open Chance4us opened this issue 2 years ago • 1 comments

outline

Savegame: outline.zip

Prerequisites for reproduction:

  1. Your display resolution is exactly 1920x1080
  2. Load attached game and move the cursor over the door
  3. You should see an incorrectly drawn outline

Additional context: Issue only occurs when the door is at the very edge of the screen

Chance4us avatar Jun 13 '23 11:06 Chance4us

Bisected to https://github.com/diasurgical/devilutionX/pull/5059

qndel avatar Jun 13 '23 16:06 qndel

@Chance4us I get this for 1920x1080, did you mean some other resolution?

image

glebm avatar Jul 10 '23 14:07 glebm

Reproduced with 960x480

glebm avatar Jul 10 '23 14:07 glebm

Reproduced with 960x480

iirc it has to be near screen edge

qndel avatar Jul 10 '23 15:07 qndel

Yeah I was just trying to guess the correct game resolution to make that happen (1920x1080 was not it but 960x480 is). This is due to a bug in the super-complicated outline clipping render function.

glebm avatar Jul 10 '23 15:07 glebm