can't sizeof an iVar in a static function

This commit is contained in:
Edward Rudd 2013-12-31 16:32:12 -05:00
parent 02738be4c5
commit 7aa07630e4
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ struct CVertex
static const void *colorOffset()
{
return (const void*) sizeof(pos);
return (const void*) sizeof(Vec2);
}
};