summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorFelix Dick <felix.dick@web.de>2022-09-29 04:01:26 +0200
committerFelix Dick <felix.dick@web.de>2022-09-29 05:29:03 +0200
commit10c4f4ba359f5c391683f44153a6e1ceb074811f (patch)
tree48bf1ea8dae5531b1b7111379a6aa2aa171e0672 /src/render/OpenGL.hpp
parentc48336aac343317dc0e31d148c71c3a83b11b619 (diff)
Shift splash up if monitor has wider ratio than bgTexture.
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index e3350c15..5d205407 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -140,10 +140,9 @@ private:
CFramebuffer* blurMainFramebufferWithDamage(float a, wlr_box* pBox, pixman_region32_t* damage);
void renderTextureInternalWithDamage(const CTexture&, wlr_box* pBox, float a, pixman_region32_t* damage, int round = 0, bool discardOpaque = false, bool noAA = false, bool allowCustomUV = false, bool allowDim = false);
-
- void renderSplash(cairo_t *const, cairo_surface_t *const);
+ void renderSplash(cairo_t *const, cairo_surface_t *const, double);
void preBlurForCurrentMonitor();
};
-inline std::unique_ptr<CHyprOpenGLImpl> g_pHyprOpenGL; \ No newline at end of file
+inline std::unique_ptr<CHyprOpenGLImpl> g_pHyprOpenGL;