[Bug] Improperly captured screenshots

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
ZzZombo
Posts: 1
Joined: Mon Jul 16, 2012 3:49

[Bug] Improperly captured screenshots

Post by ZzZombo »

On my notebook with ATI Mobility Radeon HD 5470 (also it has Intel(R) HD Graphics) GZDoom saves _very_ ugly screenshots.

As per http://zandronum.com/tracker/view.php?id=920 it may be caused by some resolutions, I'm using 1366x768 that has the bug but on 800x600 there is no problem.

A wrong screenshot.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: [Bug] Improperly captured screenshots

Post by Gez »

It's a problem in the screenshot code. The dimensions given to the bitmap does not correspond to the dimensions of the actual screen, so the rows run on from column to column and you get that slanting effect.

You'll notice that 1366x768 is not a "clean" resolution. It doesn't fit in 4:3 (1368x1026 or 1024x768), 5:4 (1365x1092 or 960x768), 16:9 (1360x765), 16:10 (1360x850 or 1232x770) or 17:10 (1360x800 or 1309x770).
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: [Bug] Improperly captured screenshots

Post by Gez »

Fixed in r1431.
Locked

Return to “Closed Bugs”