SDL_SetGammaRamp and xgamma (suggestion needed)

Hi,

  Can anybody tell me what the SDL_SetGammaRamp is doing. when i execute the

testgamma program which is program that comes with the SDL library it changes
the Monitor Color ie its becomming reddish and blacks out.But after the
programm is exited the Monitor Diplpay is reverted back to the
previous state. is it normal ??
I want to put a permanent effect monitor, can i use SDL_SetGammaRamp for above ?

  Can anybody tell me how to make the change visible even after the

execution of the program.Also which is the better function for Monitor
Calibration SDL_SetGammaRamp or XGamma ?

Also when i click outside the window(or surface that is created by the program)
i am not able to view the change.

Any comments on XF86VidModeSetGammaRamp ?? I want my code to work on
all the X platforms and it should not be confined to XFree86 or X.Org.

Any suggestion is welcome.

Thanks & regards
Karthik

  Can anybody tell me how to make the change visible even after the

execution of the program.Also which is the better function for Monitor
Calibration SDL_SetGammaRamp or XGamma ?

SDL doesn’t make any change that persists after the program quits.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment