can't sizeof an iVar in a static function
This commit is contained in:
parent
02738be4c5
commit
7aa07630e4
|
@ -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…
Reference in New Issue