[Mesa-dev] [PATCH] Fix const errors in GL(ES) API

Brian Paul brianp at vmware.com
Wed Jun 27 13:57:50 PDT 2012


On 06/27/2012 02:42 PM, Daniel Stone wrote:
> 51b0a0b3 introduced a number of const restrictions in glext.h, but
> didn't propagate these to the GL API XML files, leading to a number of
> prototype mismatch warnings.
>
> Signed-off-by: Daniel Stone<daniel at fooishbar.org>
> ---
>   src/mapi/glapi/gen/ARB_debug_output.xml              |    2 +-
>   src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml |    2 +-
>   src/mapi/glapi/gen/ARB_uniform_buffer_object.xml     |    2 +-
>   src/mapi/glapi/gen/GL3x.xml                          |    2 +-
>   src/mapi/glapi/gen/gl_API.xml                        |    4 ++--
>   5 files changed, 6 insertions(+), 6 deletions(-)
>

I posted a similar patch earlier.  But there's still some failures. 
It seems some compilers are pickier than others...

-Brian



More information about the mesa-dev mailing list