X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=vid_agl.c;h=83053a36e655bf62716585ae9d3dd65148d51c55;hb=c98af94360edd985e70be8330bf04d7d695d9001;hp=fcb06a951b82b6f5cfc8f8f8f95b09d9b31e4d78;hpb=07b1bceef07faf689bbafcf01d7606769254c79b;p=xonotic%2Fdarkplaces.git diff --git a/vid_agl.c b/vid_agl.c index fcb06a95..83053a36 100644 --- a/vid_agl.c +++ b/vid_agl.c @@ -146,7 +146,7 @@ int VID_SetGamma(unsigned short *ramps, int rampsize) CGGammaValue table_red [GAMMA_TABLE_SIZE]; CGGammaValue table_green [GAMMA_TABLE_SIZE]; CGGammaValue table_blue [GAMMA_TABLE_SIZE]; - unsigned int i; + int i; // Convert the unsigned short table into 3 float tables for (i = 0; i < rampsize; i++)