Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
not-fl3 committed Mar 10, 2020
1 parent 3c78452 commit ba11d95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "miniquad"
version = "0.2.49"
version = "0.2.50"
authors = ["not-fl3 <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
Expand Down
3 changes: 3 additions & 0 deletions src/graphics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ mod texture;

use crate::sapp::*;

// workaround sapp::* also contains None on Android
use std::option::Option::None;

pub use texture::{
FilterMode, RenderTextureFormat, RenderTextureParams, Texture, TextureFormat, TextureParams,
};
Expand Down

0 comments on commit ba11d95

Please sign in to comment.