diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-30 15:56:02 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-30 15:56:16 +0000 |
| commit | 4b592d0819e2f4563d59e6cbb2c3c236ec8f23af (patch) | |
| tree | 0224cb3f7e1ff4c72c2030d103af35500bc9aed4 /src/helpers/MiscFunctions.hpp | |
| parent | a1924ae4356657a06e43e740f1cf2e1634fa958d (diff) | |
renderer: properly pass 10-bit formats to opengl
Diffstat (limited to 'src/helpers/MiscFunctions.hpp')
| -rw-r--r-- | src/helpers/MiscFunctions.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/MiscFunctions.hpp b/src/helpers/MiscFunctions.hpp index d489a0cd..499aa90f 100644 --- a/src/helpers/MiscFunctions.hpp +++ b/src/helpers/MiscFunctions.hpp @@ -33,6 +33,7 @@ double normalizeAngleRad(double ang); std::string replaceInString(std::string subject, const std::string& search, const std::string& replace); std::vector<SCallstackFrameInfo> getBacktrace(); void throwError(const std::string& err); +uint32_t drmFormatToGL(uint32_t drm); template <typename... Args> [[deprecated("use std::format instead")]] std::string getFormat(std::format_string<Args...> fmt, Args&&... args) { |
