mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Use lowercase literal suffixes
This commit is contained in:
parent
121fa9cf74
commit
f911d01e01
@ -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);
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user