apply #15782
This commit is contained in:
parent
ca3d55ee4d
commit
a48ae50e1a
1 changed files with 6 additions and 6 deletions
|
@ -115,12 +115,12 @@ impl DirectXRenderer {
|
|||
}
|
||||
|
||||
pub(crate) fn draw(&mut self, scene: &Scene) -> Result<()> {
|
||||
let Some(path_tiles) = self.rasterize_paths(scene.paths()) else {
|
||||
return Err(anyhow::anyhow!(
|
||||
"failed to rasterize {} paths",
|
||||
scene.paths().len()
|
||||
));
|
||||
};
|
||||
// let Some(path_tiles) = self.rasterize_paths(scene.paths()) else {
|
||||
// return Err(anyhow::anyhow!(
|
||||
// "failed to rasterize {} paths",
|
||||
// scene.paths().len()
|
||||
// ));
|
||||
// };
|
||||
pre_draw(
|
||||
&self.devices.device_context,
|
||||
&self.globals.global_params_buffer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue