diff --git a/src/compute b/src/compute index e9c820a5..4c043f7e 160000 --- a/src/compute +++ b/src/compute @@ -1 +1 @@ -Subproject commit e9c820a54e0f922526486be1ab3498cd43782d0a +Subproject commit 4c043f7ed17b4c19b9374f0aaa82e9227c30183f diff --git a/src/films/display.cpp b/src/films/display.cpp index e098a681..a045a3be 100644 --- a/src/films/display.cpp +++ b/src/films/display.cpp @@ -303,7 +303,7 @@ class DisplayInstance final : public Film::Instance { .hdr = d->hdr(), .back_buffers = d->back_buffers()}); _framebuffer = device.create_image(_window->swapchain().backend_storage(), size); - _background = reinterpret_cast(_window->register_texture(_framebuffer, TextureSampler::linear_point_zero())); + _background = _window->register_texture(_framebuffer, TextureSampler::linear_point_zero()); _blit = device.compile<2>([base = _base.get(), &framebuffer = _framebuffer](Int tonemapping, Bool ldr, Float3 scale, Float3 white_balance) noexcept { auto p = dispatch_id().xy(); auto color = base->read(p).average * scale;