mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-30 23:30:27 +02:00
Drop gamma ramp code
We definitely won't be wanting to set the gamma for the entire display in the future.
This commit is contained in:
@ -1012,25 +1012,6 @@ bool CIrrDeviceSDL::isWindowMinimized() const
|
||||
}
|
||||
|
||||
|
||||
//! Set the current Gamma Value for the Display
|
||||
bool CIrrDeviceSDL::setGammaRamp( f32 red, f32 green, f32 blue, f32 brightness, f32 contrast )
|
||||
{
|
||||
/*
|
||||
// todo: Gamma in SDL takes ints, what does Irrlicht use?
|
||||
return (SDL_SetGamma(red, green, blue) != -1);
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
||||
//! Get the current Gamma Value for the Display
|
||||
bool CIrrDeviceSDL::getGammaRamp( f32 &red, f32 &green, f32 &blue, f32 &brightness, f32 &contrast )
|
||||
{
|
||||
/* brightness = 0.f;
|
||||
contrast = 0.f;
|
||||
return (SDL_GetGamma(&red, &green, &blue) != -1);*/
|
||||
return false;
|
||||
}
|
||||
|
||||
//! returns color format of the window.
|
||||
video::ECOLOR_FORMAT CIrrDeviceSDL::getColorFormat() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user