Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -18,8 +18,7 @@ Framebuffer::DepthStencil::~DepthStencil()
Destroy();
}
void Framebuffer::DepthStencil::SetSize(ref_ptr<dp::GraphicsContext> context,
uint32_t width, uint32_t height)
void Framebuffer::DepthStencil::SetSize(ref_ptr<dp::GraphicsContext> context, uint32_t width, uint32_t height)
{
if (m_texture && m_texture->GetWidth() == width && m_texture->GetHeight() == height)
return;
@@ -64,14 +63,12 @@ ref_ptr<FramebufferTexture> Framebuffer::DepthStencil::GetTexture() const
return make_ref(m_texture);
}
Framebuffer::Framebuffer()
: m_colorFormat(TextureFormat::RGBA8)
Framebuffer::Framebuffer() : m_colorFormat(TextureFormat::RGBA8)
{
ApplyOwnDepthStencil();
}
Framebuffer::Framebuffer(TextureFormat colorFormat)
: m_colorFormat(colorFormat)
Framebuffer::Framebuffer(TextureFormat colorFormat) : m_colorFormat(colorFormat)
{
ApplyOwnDepthStencil();
}