diff options
| author | Florian "sp1rit <31540351+sp1ritCS@users.noreply.github.com> | 2025-09-11 19:41:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-11 19:41:33 +0200 |
| commit | c7b99691290ef16e04cf0cb4a5007ef29fccc229 (patch) | |
| tree | 1b9b9aeae94bbcc415a501c10f8744878e109ad2 /src/render/OpenGL.cpp | |
| parent | 231b800784e2bd9bc168070d6769e97f93ff53b2 (diff) | |
render/OpenGL: fix compilation for 32bit systems (#11667)
Diffstat (limited to 'src/render/OpenGL.cpp')
| -rw-r--r-- | src/render/OpenGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index d7ea5842..9f51abaf 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -2876,7 +2876,7 @@ void CHyprOpenGLImpl::ensureBackgroundTexturePresence() { static auto PNOWALLPAPER = CConfigValue<Hyprlang::INT>("misc:disable_hyprland_logo"); static auto PFORCEWALLPAPER = CConfigValue<Hyprlang::INT>("misc:force_default_wallpaper"); - const auto FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, -1L, 2L); + const auto FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, sc<int64_t>(-1), sc<int64_t>(2)); if (*PNOWALLPAPER) m_backgroundTexture.reset(); |
