mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[client] egl: detect if egl is even available
This commit is contained in:
		| @@ -158,6 +158,10 @@ void egl_setup() | ||||
|  | ||||
| bool egl_create(void ** opaque, const LG_RendererParams params) | ||||
| { | ||||
|   // check if EGL is even available | ||||
|   if (!eglQueryString(EGL_NO_DISPLAY, EGL_VERSION)) | ||||
|     return false; | ||||
|  | ||||
|   // create our local storage | ||||
|   *opaque = malloc(sizeof(struct Inst)); | ||||
|   if (!*opaque) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae