render, helpers: Call OpenGL destroyMonitorResources on disconnect (#10111)

* render, helpers: Call OpenGL destroyMonitorResources on disconnect

* helpers: Add opengl null check
This commit is contained in:
Lee Bousfield
2025-04-18 10:37:51 -05:00
committed by GitHub
parent ddae3036ca
commit 7631d4c73f
3 changed files with 9 additions and 4 deletions

View File

@@ -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);