mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
remove unused primary_window
This commit is contained in:
parent
c388598996
commit
2b0c9491a1
1 changed files with 1 additions and 4 deletions
|
@ -10,7 +10,7 @@ use bevy_render::{
|
|||
renderer::{RenderContext, RenderResourceContext},
|
||||
texture::{Extent3d, TextureDescriptor},
|
||||
};
|
||||
use bevy_window::WindowId;
|
||||
|
||||
use std::{collections::HashMap, sync::Arc};
|
||||
|
||||
#[derive(Default)]
|
||||
|
@ -50,8 +50,6 @@ impl LazyCommandEncoder {
|
|||
|
||||
pub struct WgpuRenderContext {
|
||||
pub device: Arc<wgpu::Device>,
|
||||
// TODO: remove this
|
||||
pub primary_window: Option<WindowId>,
|
||||
pub command_encoder: LazyCommandEncoder,
|
||||
pub render_resources: WgpuRenderResourceContext,
|
||||
}
|
||||
|
@ -60,7 +58,6 @@ impl WgpuRenderContext {
|
|||
pub fn new(device: Arc<wgpu::Device>, resources: WgpuRenderResourceContext) -> Self {
|
||||
WgpuRenderContext {
|
||||
device,
|
||||
primary_window: None,
|
||||
render_resources: resources,
|
||||
command_encoder: LazyCommandEncoder::default(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue