diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-03-15 15:23:11 -0500 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2026-03-15 15:23:21 -0500 |
| commit | 902e8de7f0a8cf60ed175f63506d5644605a8e44 (patch) | |
| tree | d6dc1540bcb5c54b92126b860d3b3e8c683b5a1c /src/protocols/SinglePixel.cpp | |
| parent | 94bd4123c6e8fd3162e245b0d568c9d6dfd75780 (diff) | |
source: c-f for new clang version
Diffstat (limited to 'src/protocols/SinglePixel.cpp')
| -rw-r--r-- | src/protocols/SinglePixel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/SinglePixel.cpp b/src/protocols/SinglePixel.cpp index c4d83805..a75dce29 100644 --- a/src/protocols/SinglePixel.cpp +++ b/src/protocols/SinglePixel.cpp @@ -86,7 +86,7 @@ CSinglePixelBufferManagerResource::CSinglePixelBufferManagerResource(UP<CWpSingl m_resource->setCreateU32RgbaBuffer([this](CWpSinglePixelBufferManagerV1* res, uint32_t id, uint32_t r, uint32_t g, uint32_t b, uint32_t a) { CHyprColor color{r / sc<float>(std::numeric_limits<uint32_t>::max()), g / sc<float>(std::numeric_limits<uint32_t>::max()), - b / sc<float>(std::numeric_limits<uint32_t>::max()), a / sc<float>(std::numeric_limits<uint32_t>::max())}; + b / sc<float>(std::numeric_limits<uint32_t>::max()), a / sc<float>(std::numeric_limits<uint32_t>::max())}; const auto& RESOURCE = PROTO::singlePixel->m_buffers.emplace_back(makeUnique<CSinglePixelBufferResource>(id, m_resource->client(), color)); if UNLIKELY (!RESOURCE->good()) { |
