Skip to content

Commit 7383257

Browse files
committed
reenable NonSendMarker on prepare_windows
1 parent d224feb commit 7383257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/src/view/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub struct WindowSurfaces {
166166
pub fn prepare_windows(
167167
// By accessing a NonSend resource, we tell the scheduler to put this system on the main thread,
168168
// which is necessary for some OS s
169-
// _marker: NonSend<NonSendMarker>, // TODO: reenable marker as this will break some OS's
169+
_marker: NonSend<NonSendMarker>,
170170
mut windows: ResMut<ExtractedWindows>,
171171
mut window_surfaces: ResMut<WindowSurfaces>,
172172
render_device: Res<RenderDevice>,

0 commit comments

Comments
 (0)