mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
comp: Fix warnings on MSVC
This commit is contained in:
parent
3631289e4f
commit
5dcb5c360c
|
@ -591,7 +591,7 @@ _render_stereo(struct comp_layer_renderer *self,
|
|||
COMP_TRACE_MARKER();
|
||||
|
||||
VkViewport viewport = {
|
||||
0.0f, 0.0f, self->extent.width, self->extent.height, 0.0f, 1.0f,
|
||||
0.0f, 0.0f, (float)self->extent.width, (float)self->extent.height, 0.0f, 1.0f,
|
||||
};
|
||||
vk->vkCmdSetViewport(cmd_buffer, 0, 1, &viewport);
|
||||
VkRect2D scissor = {
|
||||
|
|
Loading…
Reference in a new issue