diff --git a/server/driver/wivrn_foveation.cpp b/server/driver/wivrn_foveation.cpp index 2bccec66..faa4003c 100644 --- a/server/driver/wivrn_foveation.cpp +++ b/server/driver/wivrn_foveation.cpp @@ -408,6 +408,6 @@ vk::CommandBuffer wivrn_foveation::update_foveation_buffer( fill_ubo(ubo->x + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].x, false, source[view].offset.w, source[view].extent.w, foveated_width); fill_ubo(ubo->y + view * RENDER_FOVEATION_BUFFER_DIMENSIONS, params[view].y, flip_y, source[view].offset.h, source[view].extent.h, foveated_height); } - return cmd; + return *cmd; } } // namespace wivrn