mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 12:42:02 +00:00 
			
		
		
		
	[client] egl: handle filter setup returning false
As discussed, this should just skip the filter as if it's disabled.
This commit is contained in:
		| @@ -613,9 +613,9 @@ bool egl_postProcessRun(EGL_PostProcess * this, EGL_Texture * tex, | |||||||
|   vector_forEach(filter, &this->filters) |   vector_forEach(filter, &this->filters) | ||||||
|   { |   { | ||||||
|     egl_filterSetOutputResHint(filter, targetX, targetY); |     egl_filterSetOutputResHint(filter, targetX, targetY); | ||||||
|     egl_filterSetup(filter, tex->format.pixFmt, sizeX, sizeY); |  | ||||||
|  |  | ||||||
|     if (!egl_filterPrepare(filter)) |     if (!egl_filterSetup(filter, tex->format.pixFmt, sizeX, sizeY) || | ||||||
|  |         !egl_filterPrepare(filter)) | ||||||
|       continue; |       continue; | ||||||
|  |  | ||||||
|     texture = egl_filterRun(filter, &filterRects, texture); |     texture = egl_filterRun(filter, &filterRects, texture); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Quantum
					Quantum