mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
add ndk to deps, disable srgb by default
This commit is contained in:
parent
3159273495
commit
986c80111f
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]
|
||||
|
|
|
@ -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