You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing with Raytracing demo and updated winit dependency to 0.30, which requires different approach of persisting some objects. Migrating demo revealed some problem hidden in Renderer::new() method. Basically to reproduce it without making too many changes and updating winit, just change:
let mut renderer = renderer::Renderer::new(device);
renderer.window_resized(cg_size);
to
let mut renderer = autoreleasepool(|| {
let mut renderer = renderer::Renderer::new(device);
renderer.window_resized(cg_size);
renderer
});
Any advice, I'm not familiar with obj-c intricacies?
The text was updated successfully, but these errors were encountered:
I was playing with Raytracing demo and updated winit dependency to 0.30, which requires different approach of persisting some objects. Migrating demo revealed some problem hidden in
Renderer::new()
method. Basically to reproduce it without making too many changes and updating winit, just change:to
Any advice, I'm not familiar with obj-c intricacies?
The text was updated successfully, but these errors were encountered: