mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
simply used debug_assertions instead of test accidentally.
This commit is contained in:
parent
31c4b98a98
commit
0a06c97526
@ -1,4 +1,4 @@
|
||||
#![cfg_attr(debug_assertions, allow(clippy::float_cmp))]
|
||||
#![cfg_attr(test, allow(clippy::float_cmp))]
|
||||
pub extern crate imgui_sys as sys;
|
||||
|
||||
use std::cell;
|
||||
@ -106,7 +106,7 @@ impl Context {
|
||||
///
|
||||
/// Incremented by Io::delta_time every frame.
|
||||
#[doc(alias = "GetTime")]
|
||||
pub fn time(&self) -> f64 {
|
||||
pub fn time(&self, input: f64) -> f64 {
|
||||
unsafe { sys::igGetTime() }
|
||||
}
|
||||
/// Returns the global imgui-rs frame count.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user