Skip to content

Conversation

@CeebDev
Copy link

@CeebDev CeebDev commented Jan 27, 2026

Since we can't release a texture dict, we have to create 1 with textures slots that can be reused.

With this, we can create / remove dui infinitly without to increment TxdStore pool.

Each time we create a new instance, it will take the first available slot in the dict and set new width / new height and new url.

This is a important fix because for people that create / remove dui frequently, it fill the TxdStore pool very fast

@CeebDev
Copy link
Author

CeebDev commented Jan 27, 2026

Need to be tested on Lua and TS, i dont have a server available with ox_lib to do this right now

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