You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
767 B
25 lines
767 B
2 months ago
|
From e8c304aa3a7bff59d8a5cd7d69c3df6cd6704410 Mon Sep 17 00:00:00 2001
|
||
|
From: Fabio Valentini <decathorpe@gmail.com>
|
||
|
Date: Mon, 15 Jan 2024 16:44:33 +0100
|
||
|
Subject: [PATCH] remove noop profiling macros
|
||
|
|
||
|
---
|
||
|
src/plane.rs | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/plane.rs b/src/plane.rs
|
||
|
index 66cfa07..0c5fe73 100644
|
||
|
--- a/src/plane.rs
|
||
|
+++ b/src/plane.rs
|
||
|
@@ -621,7 +621,6 @@ impl<T: Pixel> Plane<T> {
|
||
|
/// # Panics
|
||
|
///
|
||
|
/// - If the current plane's width and height are not at least `SCALE` times the `in_plane`'s
|
||
|
- #[profiling::function(downscale_in_place)]
|
||
|
pub fn downscale_in_place<const SCALE: usize>(&self, in_plane: &mut Plane<T>) {
|
||
|
let stride = in_plane.cfg.stride;
|
||
|
let width = in_plane.cfg.width;
|
||
|
--
|
||
|
2.43.0
|
||
|
|