mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	examples: remove "major" and "minor" from egl_common.c
Remove "major" and "minor" from egl_common.c as they are not used by the examples that use egl_common.c.
This commit is contained in:
		
							parent
							
								
									7b50f5d324
								
							
						
					
					
						commit
						c89dba9435
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -81,8 +81,7 @@ bool egl_init(struct wl_display *display) { | |||
| 		goto error; | ||||
| 	} | ||||
| 
 | ||||
| 	EGLint major, minor; | ||||
| 	if (eglInitialize(egl_display, &major, &minor) == EGL_FALSE) { | ||||
| 	if (eglInitialize(egl_display, NULL, NULL) == EGL_FALSE) { | ||||
| 		wlr_log(WLR_ERROR, "Failed to initialize EGL"); | ||||
| 		goto error; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brandon Dowdy
						Brandon Dowdy