From 7631d4c73f08217f3b8b78731e46a437319219da Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Fri, 18 Apr 2025 10:37:51 -0500 Subject: render, helpers: Call OpenGL destroyMonitorResources on disconnect (#10111) * render, helpers: Call OpenGL destroyMonitorResources on disconnect * helpers: Add opengl null check --- src/render/OpenGL.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 17ef4f5f..276d5268 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -207,7 +207,7 @@ class CHyprOpenGLImpl { void scissor(const pixman_box32*, bool transform = true); void scissor(const int x, const int y, const int w, const int h, bool transform = true); - void destroyMonitorResources(PHLMONITOR); + void destroyMonitorResources(PHLMONITORREF); void markBlurDirtyForMonitor(PHLMONITOR); -- cgit v1.2.3