mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[client] egl: fix null pointer dereference crash
This commit is contained in:
		| @@ -479,6 +479,9 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth, | ||||
|   EGL_Texture * texture = egl_postProcessGetOutput(desktop->pp, | ||||
|       &finalSizeX, &finalSizeY); | ||||
|  | ||||
|   if (!texture) | ||||
|     texture = tex; | ||||
|  | ||||
|   glBindFramebuffer(GL_FRAMEBUFFER, 0); | ||||
|   egl_resetViewport(desktop->egl); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae