Taking screenshots on Triple 8K monitors crashes zdoom
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Taking screenshots on Triple 8K monitors crashes zdoom
You can test this out by setting the custom resolution to 23040 x 4320. Single 8K monitors take screenshots just fine. Triple 4K works fine too.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Taking screenshots on Triple 8K monitors crashes zdoom
GZDoom depends on a predefined maximum screen width because a few buffers need this statically. The current value here is 12000, of course triple 8K is way above this limit, which was set to this for triple 4K.
Re: Taking screenshots on Triple 8K monitors crashes zdoom
Given how few people can actually afford the setup described here, I don't think it is worth the effort to do something about those fixed arrays. While we are at it, 23k is pretty close to 32k where a new can of worms opens when 16 bit signed integers no longer fits.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Taking screenshots on Triple 8K monitors crashes zdoom
Right - but I think the fixed size buffer in the PNG writing code can and should actually be fixed - the rest is either in the software renderer and in the PCX screenshot code which I might remove entirely because - who is still using such an ancient image format...?