]> git.draconx.ca Git - upkg.git/commit
engine: Fix off-by-one in PCX run-length encoder.
authorNick Bowler <nbowler@draconx.ca>
Fri, 11 May 2012 23:39:36 +0000 (19:39 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 11 May 2012 23:43:15 +0000 (19:43 -0400)
commitbd129e23c58d0d56f3c587a3c06c52de43ad908c
tree13dd045c0c8602b008907992875836604e9c2d9b
parentca9488ce89bd4895db0341db393ec03696b4ebd3
engine: Fix off-by-one in PCX run-length encoder.

Runs of 64 bytes are invalid, but the encoder would emit them anyway
(which get subsequently interpreted as a run of 0).  This obviously
causes some textures to export incorrectly.

We can now export all of UTtech2.utx!
src/engine/pcx.c