mirror of
https://github.com/italicsjenga/mini_gl_fb.git
synced 2024-11-22 15:31:31 +11:00
Fix example typo
This commit is contained in:
parent
375573b5e8
commit
c9e323c248
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "mini_gl_fb"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
authors = ["shivshank"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -4,5 +4,5 @@ fn main() {
|
|||
let mut fb = mini_gl_fb::gotta_go_fast("Hello world!", 800, 600);
|
||||
let buffer = vec![[128u8, 0, 0, 255]; 800 * 600];
|
||||
fb.update_buffer(&buffer);
|
||||
fb.persist(true);
|
||||
fb.persist();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue