mirror of https://github.com/Leinnan/doppler.git
updated dependencies
This commit is contained in:
parent
18860a165d
commit
ff87ee4204
|
|
@ -6,12 +6,12 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gl = "0.14.0"
|
gl = "0.14.0"
|
||||||
imgui={version="0.6.1", optional=true}
|
imgui={version="0.7.0", optional=true}
|
||||||
imgui-winit-support = {version="0.6.1", optional=true}
|
imgui-winit-support = {version="0.7.0", optional=true}
|
||||||
imgui-opengl-renderer = {version="0.10.0", optional = true}
|
imgui-opengl-renderer = {version="0.11.0", optional = true}
|
||||||
cgmath = {version="0.17.0", features=["serde"]}
|
cgmath = {version="0.18.0", features=["serde"]}
|
||||||
imgui-inspect = {version="0.7.0", optional = true}
|
imgui-inspect = {version="0.8.0", optional = true}
|
||||||
imgui-inspect-derive = {version="0.7.0", optional= true}
|
imgui-inspect-derive = {version="0.8.0", optional= true}
|
||||||
tobj = "2.0.2"
|
tobj = "2.0.2"
|
||||||
inline_tweak = "1.0.8"
|
inline_tweak = "1.0.8"
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,8 @@ pub unsafe fn load_cubemap(faces: &[&str]) -> u32 {
|
||||||
for (i, face) in faces.iter().enumerate() {
|
for (i, face) in faces.iter().enumerate() {
|
||||||
if !path_exists(std::path::Path::new(&face)) {
|
if !path_exists(std::path::Path::new(&face)) {
|
||||||
error!("There is no file {}", face);
|
error!("There is no file {}", face);
|
||||||
|
} else {
|
||||||
|
info!("Loading {}", face);
|
||||||
}
|
}
|
||||||
let (data, dim) = {
|
let (data, dim) = {
|
||||||
let img: ImagePtr<u8, Rgb> = io::read_u8(face).unwrap();
|
let img: ImagePtr<u8, Rgb> = io::read_u8(face).unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue