mirror of https://github.com/Leinnan/doppler.git
Enable imgui
This commit is contained in:
parent
cfcd1bf243
commit
56e59212ca
|
|
@ -23,7 +23,7 @@ simple-logging = "2.0.2"
|
|||
image2 = { git = "https://github.com/Leinnan/image2-rs", branch="legacy", default-features = false, features=["io"] }
|
||||
|
||||
[features]
|
||||
default = ["no_imgui"]
|
||||
default = ["imgui_inspect"]
|
||||
imgui_inspect = ["imgui-inspect-derive", "imgui-inspect", "imgui-glfw-rs"]
|
||||
no_imgui = ["glfw"]
|
||||
|
||||
|
|
|
|||
|
|
@ -7,15 +7,14 @@ use crate::gaia::framebuffer::FramebufferSystem;
|
|||
use cgmath::Point3;
|
||||
#[cfg(feature = "no_imgui")]
|
||||
use glfw;
|
||||
use glfw::{Action, Context, Key};
|
||||
#[cfg(feature = "imgui_inspect")]
|
||||
use imgui_glfw_rs::glfw;
|
||||
#[cfg(feature = "imgui_inspect")]
|
||||
use imgui_glfw_rs::glfw;
|
||||
#[cfg(feature = "imgui_inspect")]
|
||||
use imgui_glfw_rs::imgui;
|
||||
#[cfg(feature = "imgui_inspect")]
|
||||
use imgui_glfw_rs::ImguiGLFW;
|
||||
|
||||
use glfw::{Action, Context, Key};
|
||||
use log::{info, trace, warn};
|
||||
|
||||
pub struct Engine {
|
||||
|
|
|
|||
Loading…
Reference in New Issue