can't sizeof an iVar in a static function
This commit is contained in:
		
							parent
							
								
									02738be4c5
								
							
						
					
					
						commit
						7aa07630e4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -125,7 +125,7 @@ struct CVertex
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	static const void *colorOffset()
 | 
						static const void *colorOffset()
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		return (const void*) sizeof(pos);
 | 
							return (const void*) sizeof(Vec2);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue