mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	GPU/Textures: Fixed ETC texture decoding.
This commit is contained in:
		
							parent
							
								
									93e32bce72
								
							
						
					
					
						commit
						4b8d4d0ed5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -505,7 +505,7 @@ const Math::Vec4<u8> LookupTexture(const u8* source, int x, int y, const Texture | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 // Add modifier
 |                 // Add modifier
 | ||||||
|                 unsigned table_index = (x < 2) ? table_index_2.Value() : table_index_1.Value(); |                 unsigned table_index = (x < 2) ? table_index_1.Value() : table_index_2.Value(); | ||||||
| 
 | 
 | ||||||
|                 static const auto etc1_modifier_table = std::array<std::array<u8, 2>, 8>{{ |                 static const auto etc1_modifier_table = std::array<std::array<u8, 2>, 8>{{ | ||||||
|                     {  2,  8 }, {  5, 17 }, {  9,  29 }, { 13,  42 }, |                     {  2,  8 }, {  5, 17 }, {  9,  29 }, { 13,  42 }, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue