]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
optimized LoadTGA to have fast paths for all formats, rather than one unified loading...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Apr 2006 07:46:09 +0000 (07:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Apr 2006 07:46:09 +0000 (07:46 +0000)
commit43cc4b0b887c9bae4437858fda3a5a398b49010b
treedfa848851afecaf4260a7f1a479e9b534a0df7fa
parent40e0441442aecf796d118da39837fba123a0dedc
optimized LoadTGA to have fast paths for all formats, rather than one unified loading loop that tried to support all formats, this saves 1.15 seconds of load time in nexuiz on my machine (before: 2.32 seconds spent in LoadTGA, after: 1.17 seconds)

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