File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
crates/lambda-rs/src/render Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ impl RenderContextBuilder {
160160 )
161161 } ) ?;
162162 let config = surface:: SurfaceConfig :: from_platform ( config) ;
163- let present_mode = config. present_mode ;
164163 let texture_usage = config. usage ;
165164
166165 // Initialize a depth texture matching the surface size.
@@ -172,7 +171,6 @@ impl RenderContextBuilder {
172171 surface,
173172 gpu,
174173 config,
175- present_mode,
176174 texture_usage,
177175 size,
178176 depth_texture : None ,
@@ -212,7 +210,6 @@ pub struct RenderContext {
212210 surface : platform:: surface:: Surface < ' static > ,
213211 gpu : platform:: gpu:: Gpu ,
214212 config : surface:: SurfaceConfig ,
215- present_mode : surface:: PresentMode ,
216213 texture_usage : texture:: TextureUsages ,
217214 size : ( u32 , u32 ) ,
218215 depth_texture : Option < texture:: DepthTexture > ,
@@ -717,7 +714,6 @@ impl RenderContext {
717714 } ) ?;
718715
719716 let config = surface:: SurfaceConfig :: from_platform ( platform_config) ;
720- self . present_mode = config. present_mode ;
721717 self . texture_usage = config. usage ;
722718 self . config = config;
723719 return Ok ( ( ) ) ;
You can’t perform that action at this time.
0 commit comments