clay icon indicating copy to clipboard operation
clay copied to clipboard

[Core] Add a userData pointer to Clay_TextElementConfig

Open mikejsavage opened this issue 8 months ago • 2 comments

I guess this is the least effort fix for #271, feel free to close if you would prefer a different approach

mikejsavage avatar Feb 17 '25 21:02 mikejsavage

Thanks for this one, I'll just double check the struct alignment / padding and we can get this in 🙂

nicbarker avatar Feb 19 '25 20:02 nicbarker

The struct is 4 bytes smaller on 32bit with userData at the top, makes no difference on 64bit

mikejsavage avatar Feb 20 '25 15:02 mikejsavage

Ah sorry, I thought I had merged this and it slipped my mind.

nicbarker avatar Mar 07 '25 21:03 nicbarker