summaryrefslogtreecommitdiffstats
path: root/progs/perf/teximage.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/perf/teximage.c')
-rw-r--r--progs/perf/teximage.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/progs/perf/teximage.c b/progs/perf/teximage.c
index 11d781fccc6..634cd835588 100644
--- a/progs/perf/teximage.c
+++ b/progs/perf/teximage.c
@@ -50,11 +50,8 @@ static const struct vertex vertices[1] = {
{ 0.0, 0.0, 0.5, 0.5 },
};
-#if 0
#define VOFFSET(F) ((void *) offsetof(struct vertex, F))
-#else
-#define VOFFSET(F) ((void *) &((struct vertex *)NULL)->F)
-#endif
+
/** Called from test harness/main */
void