Skip to content

Commit

Permalink
Remove code used for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
vorporeal committed Feb 20, 2025
1 parent 691c538 commit a5ae43d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions wgpu/src/backend/wgpu_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3500,10 +3500,6 @@ impl Drop for CoreSurface {

impl dispatch::SurfaceOutputDetailInterface for CoreSurfaceOutputDetail {
fn present(&self) {
let error = SurfaceError::Device(wgc::device::DeviceError::Lost);
self.context
.handle_error_nolabel(&self.error_sink, error, "Surface::present");

match self.context.0.surface_present(self.surface_id) {
Ok(_status) => (),
Err(err) => {
Expand Down

0 comments on commit a5ae43d

Please sign in to comment.