Fix compilation on linux (#846)

This commit is contained in:
Yussur Mustafa Oraji 2024-09-09 21:53:49 +02:00 committed by GitHub
parent 6b5cd04893
commit f23c6dc852
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,7 +183,7 @@ void Render(const vk::CommandBuffer& cmdbuf, ::Vulkan::Frame* frame) {
},
};
vk::RenderingInfo render_info = {};
render_info.renderArea = {
render_info.renderArea = vk::Rect2D{
.offset = {0, 0},
.extent = {frame->width, frame->height},
};