Skip to content

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

Open
iManGaaX wants to merge 5 commits into
multitheftauto:masterfrom
iManGaaX:patch-8
Open

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

Conversation

@iManGaaX

@iManGaaX iManGaaX commented Sep 2, 2026

Copy link
Copy Markdown
  • 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.

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.

1 participant