Module twilight: Change committed

warp at icculus.org warp at icculus.org
Sun Nov 24 06:00:00 EST 2002


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2002-11-24 11:00:00 UTC

Log message:

Drasticly improve level load time with two changes.

Kill many repeated Zone_CheckSentinelsGlobal calls in the texture loader.

And a rather sick hack that resembles a Duff's device.

The hack is actually faster due to a simple fact, Athlons stall on
byte reads, so we read a Uint32 at a time. <=:]

Modified files:
     src/renderer/gl_textures.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20021124.110000.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20021124/a225da10/attachment.diff>


More information about the twilight-commits mailing list