Use lowercase literal suffixes

This commit is contained in:
Chris Thrasher 2024-06-17 16:50:57 -06:00
parent 121fa9cf74
commit f911d01e01
2 changed files with 3 additions and 3 deletions

View File

@ -236,7 +236,7 @@ Shader::~Shader()
////////////////////////////////////////////////////////////
Shader::Shader(Shader&& source) noexcept :
m_shaderProgram(std::exchange(source.m_shaderProgram, 0U)),
m_shaderProgram(std::exchange(source.m_shaderProgram, 0u)),
m_currentTexture(std::exchange(source.m_currentTexture, -1)),
m_textures(std::move(source.m_textures)),
m_uniforms(std::move(source.m_uniforms))
@ -260,7 +260,7 @@ Shader& Shader::operator=(Shader&& right) noexcept
}
// Move the contents of right.
m_shaderProgram = std::exchange(right.m_shaderProgram, 0U);
m_shaderProgram = std::exchange(right.m_shaderProgram, 0u);
m_currentTexture = std::exchange(right.m_currentTexture, -1);
m_textures = std::move(right.m_textures);
m_uniforms = std::move(right.m_uniforms);

View File

@ -209,7 +209,7 @@ std::uint32_t findCrtcForEncoder(const drmModeRes& resources, const drmModeEncod
{
// Possible_crtcs is a bitmask as described here:
// https://dvdhrm.wordpress.com/2012/09/13/linux-drm-mode-setting-api
const std::uint32_t crtcMask = 1U << i;
const std::uint32_t crtcMask = 1u << i;
const std::uint32_t crtcId = resources.crtcs[i];
if (encoder.possible_crtcs & crtcMask)
{