Skip to content

Fix texture caching leaks, and vehicle occupant icon lookup in killmessages - #746

Merged
ArranTuna merged 5 commits into
multitheftauto:masterfrom
iManGaaX:patch-8
Sep 4, 2026
Merged

Fix texture caching leaks, and vehicle occupant icon lookup in killmessages#746
ArranTuna merged 5 commits into
multitheftauto:masterfrom
iManGaaX:patch-8

Conversation

@iManGaaX

@iManGaaX iManGaaX commented Sep 2, 2026

Copy link
Copy Markdown
Contributor
  • Replaced inline dxCreateTexture calls with unified, cached texture lookups in c.utils.lua to eliminate GPU VRAM leaks on rendered kill messages.
  • Corrected getMessageIcon argument forwarding when evaluating player-driven vehicles (getMessageIcon(nil, vehicle)).
  • Normalized text alignment coordinates from center to left within computed bounding boxes to avoid text clipping against icons.

@ArranTuna
ArranTuna merged commit 1205e30 into multitheftauto:master Sep 4, 2026
1 check passed
@iManGaaX
iManGaaX deleted the patch-8 branch September 5, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants