From 2f278dc883f3e4e84fb1d18154132f8f4efe42cf Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 14 Jun 2024 21:59:21 +0200 Subject: egl: fixup format modifier lookups with implicit modifiers ref #6485 --- src/render/OpenGL.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') 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 getModsForFormat(EGLint format); + + // + std::optional> getModsForFormat(EGLint format); // returns the out FB, can be either Mirror or MirrorSwap CFramebuffer* blurMainFramebufferWithDamage(float a, CRegion* damage); -- cgit v1.2.3