Skip to content

Commit 8d0bc3d

Browse files
committed
cleanup
1 parent 7701283 commit 8d0bc3d

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

  • desktop/src/render
  • node-graph/libraries/wgpu-executor/src

desktop/src/render/state.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ impl RenderState {
236236
return;
237237
};
238238
let size = glam::UVec2::new(viewport_texture.width(), viewport_texture.height());
239-
240239
let result = futures::executor::block_on(self.executor.render_vello_scene_to_target_texture(&scene, size, &Default::default(), None, &mut self.overlays_texture));
241240
if let Err(e) = result {
242241
tracing::error!("Error rendering overlays: {:?}", e);

node-graph/libraries/wgpu-executor/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,6 @@ impl TargetTexture {
323323
&self.view
324324
}
325325

326-
/// Returns the size of the texture.
327-
pub fn size(&self) -> UVec2 {
328-
self.size
329-
}
330-
331326
/// Returns a reference to the underlying texture.
332327
pub fn texture(&self) -> &wgpu::Texture {
333328
&self.texture

0 commit comments

Comments
 (0)