mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-30 20:21:56 +00:00 
			
		
		
		
	[client] egl: fix desktop render dimensions check
Code now matches the error message.
This commit is contained in:
		 Chris Spencer
					Chris Spencer
				
			
				
					committed by
					
						 Geoffrey McRae
						Geoffrey McRae
					
				
			
			
				
	
			
			
			 Geoffrey McRae
						Geoffrey McRae
					
				
			
						parent
						
							661efd107e
						
					
				
				
					commit
					0fd6f59bbb
				
			| @@ -454,7 +454,7 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth, | ||||
|     dma    = desktop->useDMA; | ||||
|   } | ||||
|  | ||||
|   if (unlikely(outputWidth == 0 && outputHeight == 0)) | ||||
|   if (unlikely(outputWidth == 0 || outputHeight == 0)) | ||||
|     DEBUG_FATAL("outputWidth || outputHeight == 0"); | ||||
|  | ||||
|   enum EGL_TexStatus status; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user