summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2022-09-29 10:07:27 +0100
committerGitHub <noreply@github.com>2022-09-29 10:07:27 +0100
commitdcf5e34bfac6c7a37e27903fbfba09eb84b48ef4 (patch)
tree6f79e4e28cb7f0a3f0e75f887c08a7c6c86236dd /src/render/OpenGL.hpp
parent31cb4c49d9f977d4cb0876cf1124bf9e86a60669 (diff)
parent10c4f4ba359f5c391683f44153a6e1ceb074811f (diff)
Merge pull request #735 from Dickby/fix_splash_position
Splash position fix
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;