mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-26 04:48:29 +00:00
Merge pull request #136 from tekknolagi/patch-1
[examples] Fix type in hello_world
This commit is contained in:
commit
a275c1d656
@ -9,7 +9,7 @@ mod support;
|
|||||||
|
|
||||||
const CLEAR_COLOR: [f32; 4] = [1.0, 1.0, 1.0, 1.0];
|
const CLEAR_COLOR: [f32; 4] = [1.0, 1.0, 1.0, 1.0];
|
||||||
|
|
||||||
fn main() { support::run("hellow_world.rs".to_owned(), CLEAR_COLOR, hello_world); }
|
fn main() { support::run("hello_world.rs".to_owned(), CLEAR_COLOR, hello_world); }
|
||||||
|
|
||||||
fn hello_world<'a>(ui: &Ui<'a>) -> bool {
|
fn hello_world<'a>(ui: &Ui<'a>) -> bool {
|
||||||
ui.window(im_str!("Hello world"))
|
ui.window(im_str!("Hello world"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user