mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-25 00:08:42 -06:00
add ndk to deps, disable srgb by default
This commit is contained in:
parent
6e61fd687a
commit
cfba245e11
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -967,6 +967,7 @@ dependencies = [
|
|||
"kubi-shared",
|
||||
"log",
|
||||
"lz4_flex",
|
||||
"ndk",
|
||||
"ndk-glue",
|
||||
"nohash-hasher",
|
||||
"postcard",
|
||||
|
|
|
@ -29,6 +29,7 @@ lz4_flex = { version = "0.10", default-features = false, features = ["std", "che
|
|||
static_assertions = "1.1"
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
ndk = "0.7"
|
||||
ndk-glue = "0.7"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
|
|
|
@ -175,7 +175,7 @@ fn attach_console() {
|
|||
pub fn kubi_main() {
|
||||
//Attach console on release builds on windows
|
||||
#[cfg(all(windows, not(debug_assertions)))] attach_console();
|
||||
|
||||
|
||||
//Print version
|
||||
println!("{:─^54}", format!("[ ▄▀ Kubi client v. {} ]", env!("CARGO_PKG_VERSION")));
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ impl Renderer {
|
|||
});
|
||||
|
||||
let cb = ContextBuilder::new()
|
||||
.with_srgb(false)
|
||||
.with_depth_buffer(24)
|
||||
.with_multisampling(settings.msaa.unwrap_or_default())
|
||||
.with_vsync(settings.vsync)
|
||||
|
|
Loading…
Reference in a new issue