File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/bevy_render/src/view Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -184,13 +184,13 @@ pub fn prepare_windows(
184184 . entry ( window. entity )
185185 . or_insert_with ( || unsafe {
186186 // NOTE: On some OSes this MUST be called from the main thread.
187- // As of wgpu 0.15, only failable if the given window is a HTML canvas and obtaining a WebGPU or WebGL 2 context fails.
187+ // As of wgpu 0.15, only failable if the given window is a HTML canvas and obtaining a WebGPU or WebGL2 context fails.
188188 let surface = render_instance
189189 . create_surface ( & window. handle . get_handle ( ) )
190190 . unwrap ( ) ;
191191 let caps = surface. get_capabilities ( & render_adapter) ;
192192 let formats = caps. formats ;
193- // Explicitally request an sRBG format, otherwise fallback to the first available format.
193+ // Explicitly request an sRGB format, otherwise fallback to the first available format.
194194 // For future HDR output support, we'll need to request a format that supports HDR,
195195 // but as of wgpu 0.15 that is not yet supported.
196196 let format = if formats. contains ( & TextureFormat :: Rgba8UnormSrgb ) {
You can’t perform that action at this time.
0 commit comments