render/OpenGL: fix compilation for 32bit systems (#11667)

This commit is contained in:
Florian "sp1rit 2025-09-11 19:41:33 +02:00 committed by GitHub
parent 231b800784
commit c7b9969129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();