entryway
Senior Member
Posts: 1259
Registered: 01-04 |
K!r4 said:
It works fine with the latest GZDoom !
I had your problem with most versions of gzdoom (had/have no with glboom-plus), but currently I haven't it even with gzdoom, so we wait for Graf.
P.S. From gzdoom:
code: if (!Windowed && SM14)
{
// Fix for Radeon 9000, possibly other R200s: When the device is
// reset, it resets the gamma ramp, but the driver apparently keeps a
// cached copy of the ramp that it doesn't update, so when
// SetGammaRamp is called later to handle the NeedGammaUpdate flag,
// it doesn't do anything, because the gamma ramp is the same as the
// one passed in the last call, even though the visible gamma ramp
// actually has changed.
//
// So here we force the gamma ramp to something absolutely horrible and
// trust that we will be able to properly set the gamma later when
// NeedGammaUpdate is handled.
D3DGAMMARAMP ramp;
memset(&ramp, 0, sizeof(ramp));
D3DDevice->SetGammaRamp(0, 0, &ramp);
}
So I need to set the gamma 'to something absolutely horrible' before the real values, heh?
Last edited by entryway on 04-15-08 at 10:16
|