Updates examples path in README (glium examples moved to their own folder)

Since last release the examples for glium were moved into their own folder imgui-glium-examples.
This PR updates the instructions in README accordingly.
This commit is contained in:
JoshLambda 2019-01-01 08:32:36 +01:00
parent 91a961e06a
commit 2537a476b8

View File

@ -51,18 +51,30 @@ ui.window(im_str!("Hello world"))
## Compiling and running the demos
Examples are under the imgui-examples directory.
git clone https://github.com/Gekkio/imgui-rs
cd imgui-rs
git submodule update --init --recursive
Examples for gfx backend are under the imgui-examples directory.
cd imgui-examples
cargo test
cargo run --example hello_gfx
Examples for glium backend are located into the imgui-glium-examples directory.
# At the reposity root
cd imgui-glium-examples
cargo test
cargo run --example hello_world
cargo run --example test_window
cargo run --example test_window_impl
Note to Windows users: You will need to use the *MSVC ABI* version of the Rust compiler along
with its associated [dependencies](https://www.rust-lang.org/en-US/downloads.html#win-foot) to
build this libary and run the examples.