Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcourteaux committed Nov 21, 2024
1 parent ea54a9c commit f9e2ace
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions src/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2800,11 +2800,12 @@ VK_IMPORT_DEVICE
return suspended;
}

//BX_TRACE(
// "updateResolution(%d, %d) m_resolution=(%d, %d)",
// _resolution.width, _resolution.height,
// m_resolution.width, m_resolution.height
//);
//BX_TRACE("updateResolution(%d, %d) m_resolution=(%d, %d)"
// , _resolution.width
// , _resolution.height
// , m_resolution.width
// , m_resolution.height
// );

uint32_t flags = _resolution.reset & ~(0
| BGFX_RESET_SUSPEND
Expand Down Expand Up @@ -7176,7 +7177,12 @@ VK_DESTROY
);
if (width != m_resolution.width || height != m_resolution.height)
{
BX_TRACE("Clamped swapchain resolution from %dx%d to %dx%d", m_resolution.width, m_resolution.height, width, height);
BX_TRACE("Clamped swapchain resolution from %dx%d to %dx%d"
, m_resolution.width
, m_resolution.height
, width
, height
);
}

VkCompositeAlphaFlagBitsKHR compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR;
Expand Down Expand Up @@ -8604,12 +8610,12 @@ VK_DESTROY
if (_render->m_view[view].m_rect.m_width != rect.m_width
|| _render->m_view[view].m_rect.m_height != rect.m_height)
{
BX_TRACE(
"Clamp render pass from %dx%d to %dx%d",
_render->m_view[view].m_rect.m_width,
_render->m_view[view].m_rect.m_height,
rect.m_width, rect.m_height
);
BX_TRACE("Clamp render pass from %dx%d to %dx%d"
, _render->m_view[view].m_rect.m_width
, _render->m_view[view].m_rect.m_height
, rect.m_width
, rect.m_height
);
}

rpbi.framebuffer = fb.m_currentFramebuffer;
Expand Down

0 comments on commit f9e2ace

Please sign in to comment.