mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
Remove ContextCore from CoreSurfaceOutputDetail
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
1 parent
5f8d11473f
commit
a99e06dbba
1 file changed
-3
@@ -490,7 +490,6 @@ impl CoreTlas {
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct CoreSurfaceOutputDetail {
|
||||
pub(crate) context: ContextWgpuCore,
|
||||
wgpu_surface: Arc<wgc::instance::Surface>,
|
||||
error_sink: ErrorSink,
|
||||
}
|
||||
@@ -498,7 +497,6 @@ pub struct CoreSurfaceOutputDetail {
|
||||
impl fmt::Debug for CoreSurfaceOutputDetail {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("CoreSurfaceOutputDetail")
|
||||
.field("context", &self.context)
|
||||
.field("wgpu_surface", &Arc::as_ptr(&self.wgpu_surface))
|
||||
.finish()
|
||||
}
|
||||
@@ -2844,7 +2842,6 @@ impl dispatch::SurfaceInterface for CoreSurface {
|
||||
};
|
||||
|
||||
let output_detail = CoreSurfaceOutputDetail {
|
||||
context: self.context.clone(),
|
||||
wgpu_surface: self.wgpu_surface.clone(),
|
||||
error_sink,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user