mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	fix server exit: eglMakeCurrent Invalid display
This commit is contained in:
		
							parent
							
								
									341af97125
								
							
						
					
					
						commit
						4e89e0fc6c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -198,8 +198,8 @@ void wlr_egl_finish(struct wlr_egl *egl) {
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	eglMakeCurrent(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
 | 
						eglMakeCurrent(egl->display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
 | 
				
			||||||
	if (egl->wl_display && eglUnbindWaylandDisplayWL) {
 | 
						if (egl->wl_display && egl->egl_exts.bind_wayland_display) {
 | 
				
			||||||
		eglUnbindWaylandDisplayWL(egl->display, egl->wl_display);
 | 
							eglUnbindWaylandDisplayWL(egl->display, egl->wl_display);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue