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

  • Posts: 154
2 years 2 weeks ago - 2 years 2 weeks 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.

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

  • Posts: 3722
2 years 2 weeks ago - 2 years 2 weeks 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!!!
The following user(s) said Thank You: ShoterXX

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

  • Posts: 154
2 years 2 weeks ago #3 by ShoterXX
Fixed.

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