mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-02 08:01:47 -04:00
And use the normal values for black and white in for_profiling
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
mod utils;
|
||||
|
||||
const BLACK: i32 = 0;
|
||||
const WHITE: i32 = i32::from_be_bytes([0, 0xff, 0xff, 0xff]);
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
#[cfg(feature = "tracing")]
|
||||
@@ -9,5 +12,5 @@ async fn main() {
|
||||
.nth(1)
|
||||
.expect("Please enter a file to profile");
|
||||
|
||||
utils::render_doc(file, None, 0, 1000).await;
|
||||
utils::render_doc(file, None, BLACK, WHITE).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user