glapi: Duplicate GLES1 prototypes in glapi_dispatch.c
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 30 May 2014 20:55:28 +0000 (13:55 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 30 May 2014 23:33:34 +0000 (16:33 -0700)
commit7b1aeec9cd8c9b790d452eaf769ccbce51627908
tree692e3ccf23ae193470f02ce8c955a4d2a9b361a5
parent65bccff800dc1181ec2a6ee007a10ee0ec10b089
glapi: Duplicate GLES1 prototypes in glapi_dispatch.c

These prototypes are necessary because GLES1 library builds will create
dispatch functions for them.  We can't directly include GLES/gl.h
because it would conflict the previously-included GL/gl.h.  Since GLES1
ABI is not expected to every add more functions, the path of least
resistance is to just duplicate the prototypes for the functions that
aren't already in desktop OpenGL.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79294
Acked-by: Matt Turner <mattst88@gmail.com>
Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/mapi/glapi/glapi_dispatch.c