mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	render/egl: remove unused gbm_device member
This commit is contained in:
		
							parent
							
								
									ee31be167b
								
							
						
					
					
						commit
						306cf11d87
					
				
					 3 changed files with 0 additions and 7 deletions
				
			
		|  | @ -41,7 +41,6 @@ struct wlr_egl { | ||||||
| 	EGLConfig config; // may be EGL_NO_CONFIG
 | 	EGLConfig config; // may be EGL_NO_CONFIG
 | ||||||
| 	EGLContext context; | 	EGLContext context; | ||||||
| 	EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
 | 	EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
 | ||||||
| 	struct gbm_device *gbm_device; |  | ||||||
| 
 | 
 | ||||||
| 	struct { | 	struct { | ||||||
| 		// Display extensions
 | 		// Display extensions
 | ||||||
|  |  | ||||||
|  | @ -5,7 +5,6 @@ | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <gbm.h> |  | ||||||
| #include <wlr/render/egl.h> | #include <wlr/render/egl.h> | ||||||
| #include <wlr/util/log.h> | #include <wlr/util/log.h> | ||||||
| #include <wlr/util/region.h> | #include <wlr/util/region.h> | ||||||
|  | @ -488,10 +487,6 @@ void wlr_egl_destroy(struct wlr_egl *egl) { | ||||||
| 	eglTerminate(egl->display); | 	eglTerminate(egl->display); | ||||||
| 	eglReleaseThread(); | 	eglReleaseThread(); | ||||||
| 
 | 
 | ||||||
| 	if (egl->gbm_device) { |  | ||||||
| 		gbm_device_destroy(egl->gbm_device); |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	free(egl); | 	free(egl); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| #include <assert.h> | #include <assert.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <gbm.h> |  | ||||||
| #include <wlr/render/egl.h> | #include <wlr/render/egl.h> | ||||||
| #include <wlr/render/gles2.h> | #include <wlr/render/gles2.h> | ||||||
| #include <wlr/render/interface.h> | #include <wlr/render/interface.h> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Zeni
						Simon Zeni