Update debian/patches/surfaces.patch
This commit is contained in:
parent
c2fe14c0b8
commit
db86838ff7
22
debian/patches/surfaces.patch
vendored
22
debian/patches/surfaces.patch
vendored
@ -1,15 +1,15 @@
|
||||
diff --git a/src/desktop/WLSurface.hpp b/src/desktop/WLSurface.hpp
|
||||
index 5f8da715..aa3600a2 100644
|
||||
--- a/src/desktop/WLSurface.hpp
|
||||
+++ b/src/desktop/WLSurface.hpp
|
||||
@@ -88,7 +88,7 @@ class CWLSurface {
|
||||
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
|
||||
index ee5d9a86..88aa5f59 100644
|
||||
--- a/src/render/OpenGL.cpp
|
||||
+++ b/src/render/OpenGL.cpp
|
||||
@@ -875,7 +875,7 @@ void CHyprOpenGLImpl::begin(PHLMONITOR pMonitor, const CRegion& damage_, CFrameb
|
||||
|
||||
// used by the hyprland-surface protocol
|
||||
float m_fOverallOpacity = 1.F;
|
||||
- CRegion m_visibleRegion;
|
||||
+ CRegion m_visibleRegion = CBox{0, 0, INT32_MAX, INT32_MAX};
|
||||
const auto PRBO = g_pHyprRenderer->getCurrentRBO();
|
||||
const bool FBPROPERSIZE = !fb || fb->m_vSize == pMonitor->vecPixelSize;
|
||||
- const bool USERFORCEDINTROSPECTION = *PFORCEINTROSPECTION == 1 ? true : (*PFORCEINTROSPECTION == 2 ? g_pHyprRenderer->isNvidia() : false); // 0 - no, 1 - yes, 2 - nvidia only
|
||||
+ const bool USERFORCEDINTROSPECTION = *PFORCEINTROSPECTION == 1 || *PFORCEINTROSPECTION == 2 ? true : false; // 0 - no, 1 - yes, 2 - yes
|
||||
|
||||
struct {
|
||||
CSignal destroy;
|
||||
if (USERFORCEDINTROSPECTION || m_RenderData.forceIntrospection || !FBPROPERSIZE || m_sFinalScreenShader.program > 0 ||
|
||||
(PRBO && pMonitor->vecPixelSize != PRBO->getFB()->m_vSize) || passRequiresIntrospection(pMonitor)) {
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user