src/render/OpenGL.cpp:1769:41: error: no matching function for call to 'clamp'
const auto FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, -1L, 2L);
^~~~~~~~~~
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int64_t' (aka 'long long') vs. 'long')
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
/usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp)
^
|
||
|---|---|---|
| .. | ||
| decorations | ||
| shaders | ||
| Framebuffer.cpp | ||
| Framebuffer.hpp | ||
| OpenGL.cpp | ||
| OpenGL.hpp | ||
| Renderer.cpp | ||
| Renderer.hpp | ||
| Shader.cpp | ||
| Shader.hpp | ||
| Shaders.hpp | ||
| Texture.cpp | ||
| Texture.hpp | ||