mesa: Emit definition of GLAPIENTRYP in es_generator.py.
authorThierry Reding <thierry.reding@avionic-design.de>
Fri, 20 May 2011 06:26:18 +0000 (08:26 +0200)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 20 May 2011 11:59:23 +0000 (12:59 +0100)
commit8e7d4d4e0c74bff105a66c0cd0f427e2b287c9e3
tree8f461feaacbd43fbcd03a1202b50e8386f95aca3
parent075d2bfb72916bf59caae98dccdc211b929bb5e8
mesa: Emit definition of GLAPIENTRYP in es_generator.py.

GLES uses GL_APIENTRYP instead of GLAPIENTRYP, which breaks with the
latest API table generation code. This fixes the issue by emitting a
definition for GL_APIENTRYP when generating the GLES files.
src/mesa/main/es_generator.py