eliminated special case for gamma 1.0 as it was making worse gamma ramps than the...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Dec 2005 08:43:50 +0000 (08:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Dec 2005 08:43:50 +0000 (08:43 +0000)
commita9fc7c56ca413323bb1973c4629fed10e08d13f7
treeda4d288e82d666a9ee7b5bac83dd865e20c60915
parente2665193af029673b996454366f3caa7b5ea20fa
eliminated special case for gamma 1.0 as it was making worse gamma ramps than the general case, and tweaked the code a bit to round to nearest so it should hit exactly 65535

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5874 d7cf8633-e32d-0410-b094-e92efae38249
palette.c