mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'xMAC94x/client_lag' into 'master'
extra scope for plot See merge request veloren/veloren!3266
This commit is contained in:
commit
dfd1d3a2d9
@ -21,11 +21,11 @@ macro_rules! plot {
|
||||
#[cfg(feature = "tracy")]
|
||||
#[macro_export]
|
||||
macro_rules! plot {
|
||||
($name:expr, $value:expr) => {
|
||||
($name:expr, $value:expr) => {{
|
||||
use $crate::tracy_client::{create_plot, Plot};
|
||||
static PLOT: Plot = create_plot!($name);
|
||||
PLOT.point($value);
|
||||
};
|
||||
}};
|
||||
}
|
||||
|
||||
// Panic in debug or tests, warn in release
|
||||
|
Loading…
Reference in New Issue
Block a user