mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	video_core: Remove Unreachable for invalid BlendEquation modes (#3595)
* video_core: Remove Unreachable statement * Lower log level to ERROR
This commit is contained in:
		
							parent
							
								
									a567a92468
								
							
						
					
					
						commit
						bb6251f35f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -103,9 +103,9 @@ inline GLenum BlendEquation(Pica::FramebufferRegs::BlendEquation equation) { | ||||||
| 
 | 
 | ||||||
|     // Range check table for input
 |     // Range check table for input
 | ||||||
|     if (static_cast<size_t>(equation) >= ARRAY_SIZE(blend_equation_table)) { |     if (static_cast<size_t>(equation) >= ARRAY_SIZE(blend_equation_table)) { | ||||||
|         LOG_CRITICAL(Render_OpenGL, "Unknown blend equation %u", static_cast<u32>(equation)); |         LOG_ERROR(Render_OpenGL, "Unknown blend equation %u", static_cast<u32>(equation)); | ||||||
|         UNREACHABLE(); |  | ||||||
| 
 | 
 | ||||||
|  |         // This return value is hwtested, not just a stub
 | ||||||
|         return GL_FUNC_ADD; |         return GL_FUNC_ADD; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue