diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-06-14 21:59:21 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-06-14 21:59:21 +0200 |
| commit | 2f278dc883f3e4e84fb1d18154132f8f4efe42cf (patch) | |
| tree | 9f903e0fb746d6dbf776f1833d6bd7caae2deeee /src/render/OpenGL.hpp | |
| parent | 12ce06f39b2194685ddeadf656ebf2d334836992 (diff) | |
egl: fixup format modifier lookups with implicit modifiers
ref #6485
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index db0f8ea1..c6e173e5 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -238,7 +238,9 @@ class CHyprOpenGLImpl { void createBGTextureForMonitor(CMonitor*); void initShaders(); void initDRMFormats(); - std::vector<uint64_t> getModsForFormat(EGLint format); + + // + std::optional<std::vector<uint64_t>> getModsForFormat(EGLint format); // returns the out FB, can be either Mirror or MirrorSwap CFramebuffer* blurMainFramebufferWithDamage(float a, CRegion* damage); |
