mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2025-01-27 02:56:33 +11:00
Merge pull request #14 from bltavares/patch-1
Include needed modules on the example code
This commit is contained in:
commit
a6e0f4dd54
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ Example
|
|||
```rust
|
||||
extern crate minifb;
|
||||
|
||||
use minifb::{Key, Scale};
|
||||
|
||||
const WIDTH: usize = 640;
|
||||
const HEIGHT: usize = 360;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue