Whats “:=” ? Not straight C then?
Lund
Dominique Louis wrote:> Hi Joseph,
From what I can tell the call to SDL_SetGamma always fails. I am using
a Dell Laptop which I definately know supports gamma ramping and it
fails onthe following line…gamma := 1.0;
if ( SDL_SetGamma(gamma, gamma, gamma) < 0 ) // <— always returns
less than zero
{
fprintf(stderr, ‘Unable to set gamma: %s\n’, SDL_GetError());
exit(1);
}Can Sam or anyone else shed some light on this problem?
Thanks,
Dominique.
Joseph Carter wrote:
On Tue, Apr 09, 2002 at 12:23:36AM +0100, Dominique Louis wrote:
I have just ported the testgamma.c program over to Object Pascal to
test the SDL_SetGamma function call. No one who has tested the
resulting executable on Windows, can see the Gamma manipulation working.
Does testgamma.c work on anyone else’s system? Could someone send me
an exe of testgamma?I can tell you with certainty that it does not work in win32 with certain
video cards. Which ones exactly probably include 3dfx, but I do not know
what else they might include.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
–
Jorgen “Lord” Lundman <@Jorgen_Lundman>
Technology Manager, Unix Administrator
Phone: +44 (0)20-86591860 Mobile: +44 (0)79-58642918
Pager: 07958642918 at one2one.net
“Rare is the person who can weigh the faults of others
without putting his thumb on the scales”: Byron J. Langenfeld