]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Simplify decal system.
authorRudolf Polzer <divVerent@gmail.com>
Wed, 20 Nov 2024 13:04:26 +0000 (14:04 +0100)
committerdivVerent <divVerent@gmail.com>
Thu, 21 Nov 2024 12:21:41 +0000 (07:21 -0500)
commit3c1941b580883cb357c5f54f7b89e44879d96e70
tree0c1875665de37a2306212dee060f678d3bcf3f39
parent55e56658cb6e7e68c8ed11da18eebd8241a58960
Simplify decal system.

Removes the `freedecal` field, and as such, fixes some invariant violations
found in issue #216 that appear to lead to engine crashes.

Performance should remain unchanged, as the decal expiry process performed
full decal copies from end spots to unoccupied spots as part of its
"shuffling" loop anyway.

Fixes issue #216.
client.h
gl_rmain.c