backend/wayland: don't set EGL visual
The Wayland platform doesn't have visuals. By chance, WL_SHM_FORMAT_ARGB8888 is zero, which means egl_get_config was ignoring it and everything worked fine.
This commit is contained in:
		
							parent
							
								
									713c1661b7
								
							
						
					
					
						commit
						6485fadc16
					
				| 
						 | 
				
			
			@ -316,7 +316,7 @@ struct wlr_backend *wlr_wl_backend_create(struct wl_display *display,
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	wl->renderer = create_renderer_func(&wl->egl, EGL_PLATFORM_WAYLAND_EXT,
 | 
			
		||||
		wl->remote_display, config_attribs, WL_SHM_FORMAT_ARGB8888);
 | 
			
		||||
		wl->remote_display, config_attribs, 0);
 | 
			
		||||
 | 
			
		||||
	if (!wl->renderer) {
 | 
			
		||||
		wlr_log(WLR_ERROR, "Could not create renderer");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue