mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Prefix all size_t with std::
done automatically by executing regex replace `([^:0-9a-zA-Z_])size_t([^0-9a-zA-Z_])` -> `$1std::size_t$2`
This commit is contained in:
		
							parent
							
								
									eca98eeb3e
								
							
						
					
					
						commit
						7d8f115185
					
				
					 158 changed files with 669 additions and 634 deletions
				
			
		|  | @ -18,8 +18,8 @@ using TextureFormat = Pica::TexturingRegs::TextureFormat; | |||
| namespace Pica { | ||||
| namespace Texture { | ||||
| 
 | ||||
| constexpr size_t TILE_SIZE = 8 * 8; | ||||
| constexpr size_t ETC1_SUBTILES = 2 * 2; | ||||
| constexpr std::size_t TILE_SIZE = 8 * 8; | ||||
| constexpr std::size_t ETC1_SUBTILES = 2 * 2; | ||||
| 
 | ||||
| size_t CalculateTileSize(TextureFormat format) { | ||||
|     switch (format) { | ||||
|  | @ -177,7 +177,7 @@ Math::Vec4<u8> LookupTexelInTile(const u8* source, unsigned int x, unsigned int | |||
|     case TextureFormat::ETC1: | ||||
|     case TextureFormat::ETC1A4: { | ||||
|         bool has_alpha = (info.format == TextureFormat::ETC1A4); | ||||
|         size_t subtile_size = has_alpha ? 16 : 8; | ||||
|         std::size_t subtile_size = has_alpha ? 16 : 8; | ||||
| 
 | ||||
|         // ETC1 further subdivides each 8x8 tile into four 4x4 subtiles
 | ||||
|         constexpr unsigned int subtile_width = 4; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue