diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-12-01 17:20:56 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-12-01 17:20:56 +0000 |
| commit | 9c09f2a847a1372c73cf67dc9e7e9ebe309b142e (patch) | |
| tree | 5f8b5ed8b1bd9c1cf23155ffbfded231983cd21e /src/helpers/MiscFunctions.hpp | |
| parent | 8440a30231ea41a6b1dacc60a28837b265a6efec (diff) | |
screencopy: fix shm exports with 10-bit
fixes #4019
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 90479121..d8070c76 100644 --- a/src/helpers/MiscFunctions.hpp +++ b/src/helpers/MiscFunctions.hpp @@ -34,6 +34,7 @@ std::string replaceInString(std::string subject, const std: std::vector<SCallstackFrameInfo> getBacktrace(); void throwError(const std::string& err); uint32_t drmFormatToGL(uint32_t drm); +uint32_t glFormatToType(uint32_t gl); template <typename... Args> [[deprecated("use std::format instead")]] std::string getFormat(std::format_string<Args...> fmt, Args&&... args) { |
