On 28 August 2013 09:36, Eric Anholt <[email protected]> wrote:

> Bonus points if
> you drop the ifdefs around the calls to glVertexPointer() and
> glEnableVertexAttribArray() and friends -- piglit_dispatch means they're
> always available to be linked against, even if the implementation
> doesn't have them.
>

I thought this was the case too, and I nearly made a comment to this effect
when I reviewed this patch yesterday, but I tried it and it didn't work.
When compiling the gles1 target:

/home/pberry/piglit/tests/util/piglit-util-gl-common.c: In function
‘piglit_draw_rect_from_arrays’:
/home/pberry/piglit/tests/util/piglit-util-gl-common.c:687:220: error:
called object is not a function or function pointer
    glVertexAttribPointer(PIGLIT_ATTRIB_POS, 4, GL_FLOAT,

^

I haven't investigated why this happens.
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to