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<()> {
|
pub(crate) fn draw(&mut self, scene: &Scene) -> Result<()> {
|
||||||
let Some(path_tiles) = self.rasterize_paths(scene.paths()) else {
|
// let Some(path_tiles) = self.rasterize_paths(scene.paths()) else {
|
||||||
return Err(anyhow::anyhow!(
|
// return Err(anyhow::anyhow!(
|
||||||
"failed to rasterize {} paths",
|
// "failed to rasterize {} paths",
|
||||||
scene.paths().len()
|
// scene.paths().len()
|
||||||
));
|
// ));
|
||||||
};
|
// };
|
||||||
pre_draw(
|
pre_draw(
|
||||||
&self.devices.device_context,
|
&self.devices.device_context,
|
||||||
&self.globals.global_params_buffer,
|
&self.globals.global_params_buffer,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue