From 7aa07630e4b2e028803a49a2141d4dcca6446bf6 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Tue, 31 Dec 2013 16:32:12 -0500 Subject: [PATCH] can't sizeof an iVar in a static function --- src/etc-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc-internal.h b/src/etc-internal.h index 64a6c74..5c3ab22 100644 --- a/src/etc-internal.h +++ b/src/etc-internal.h @@ -125,7 +125,7 @@ struct CVertex static const void *colorOffset() { - return (const void*) sizeof(pos); + return (const void*) sizeof(Vec2); } };