Rust with Imgui and SDL2

Hello!
I wanted to create simple animation showing tool with rust imgui and sdl2.
And I got a problem, found bindings on github:
github Rust-SDL2/rust-sdl2
github Gekkio/imgui-rs
And these examples work for me, but when I tried this one that I truly need:
https://github.com/michaelfairley/rust-imgui-sdl2 when I run example it shows just a empty window.
I have opened the issue on github, but the problem is that it doesn`t work only on my Xubuntu 18.04 lts. On my windows machine everything is fine. I have just ran out of ideas and will probably try reinstalling my OS.

Did any of you tried this? Maybe got similar issue? :slight_smile:
Cheers!
Wowo

In case if someone will fall into such issue. My has been solved by simply changing OpenGL version from 3.0 to 3.1 inside code.
Cheers!

1 Like