[Solved] Dropdown getting filled with garbage [..]

More
2 years 5 months ago - 2 years 5 months ago #1 by ShoterXX
As the title says. Doesn't always happen, but it's common. Reloading shaders fixes the issue. Had a funny case where one of the entries was an entire shader file, but the printscreen came out black, and on doing so, it reloaded everything.

Last edit: 2 years 5 months ago by ShoterXX.

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago - 2 years 5 months ago #2 by crosire
That shader is broken. Each item in the "ui_items" definition HAS to be terminated with "\0", including the last one!!!
Last edit: 2 years 5 months ago by crosire.
The following user(s) said Thank You: ShoterXX

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago #3 by ShoterXX
Fixed.

Please Log in or Create an account to join the conversation.