OSDN Git Service

glapi: define GL_API to be KEYWORD1 in glapi_dispatch.c (v2)
authorBrian Paul <brianp@vmware.com>
Tue, 27 Mar 2018 18:56:49 +0000 (12:56 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Mar 2018 20:33:33 +0000 (14:33 -0600)
commit1bf201ddce12adfd5b06e46b8111b89300d58b4e
tree3891ee09e62fa8f8427cd72ee15a2ce92fbda513
parent26bc983c8374fd98dc3b8f8fa273f3063e3ac249
glapi: define GL_API to be KEYWORD1 in glapi_dispatch.c (v2)

This fixes a Windows build warning where the prototypes for the ES
function in the header file don't match the prototypes in this file
because the GL_API and GLAPI macros are defined differently.

v2: defined GL_API to KEYWORD1 instead of GLAPI, per Mathias.

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
src/mapi/glapi/glapi_dispatch.c