diff --git a/piet-gpu/bin/cli.rs b/piet-gpu/bin/cli.rs index 6d7dcda..4c785eb 100644 --- a/piet-gpu/bin/cli.rs +++ b/piet-gpu/bin/cli.rs @@ -232,7 +232,7 @@ fn main() -> Result<(), Error> { let session = Session::new(device); let mut cmd_buf = session.cmd_buf()?; - let query_pool = session.create_query_pool(12)?; + let query_pool = session.create_query_pool(Renderer::QUERY_POOL_SIZE)?; let mut ctx = PietGpuRenderContext::new(); if let Some(input) = matches.value_of("INPUT") {