Page 1 of 1
GZDoom doesn't restore color calibration on exit
Posted: Thu Sep 24, 2015 18:27
by Xeotroid
I use two monitors and one of them is slightly tinted red, so I used the Color calibration tool in Windows, however when I start GZDoom it gets restored to the original not-nice color. That's fine, I don't game on that monitor, what I don't really like though is that the game doesn't restore the settings back on exit. I think borderless window option could solve this, without having to detect what Windows did to the colors and then restore it.
Re: GZDoom doesn't restore color calibration on exit
Posted: Fri Sep 25, 2015 11:36
by Rachael
Xeotroid wrote:I think borderless window option could solve this, without having to detect what Windows did to the colors and then restore it.
As much as I would love to have this mode for GZDoom, I don't think this will fix your problem. GZDoom sets its own brightness/contrast/gamma settings even in Window mode, similar to how Quake 3 works.
The option you really need is to have GZDoom not even touch the video color ramp settings, but that will not work as a feature suggestion here, you might have to try that at the
ZDoom forum.
Re: GZDoom doesn't restore color calibration on exit
Posted: Fri Sep 25, 2015 14:39
by Xeotroid
I noticed ZDoom doesn't do this, though, so this is purely a GZDoom problem and posting this on ZDoom forums probably wouldn't help.
Re: GZDoom doesn't restore color calibration on exit
Posted: Fri Sep 25, 2015 18:25
by Rachael
I'll leave it to Graf to decide what he wants to do with this issue then. GZDoom probably just has alternate code available to do the same thing but ultimately the feature itself may have to come from ZDoom.
Re: GZDoom doesn't restore color calibration on exit
Posted: Fri Sep 25, 2015 23:06
by Graf Zahl
ZDoom uses Direct3D's color ramp which is per-session.
For OpenGL there is no other way but to change the global gamma ramp and restore it afterward.