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.
This commit is contained in:
committed by
José Fonseca
parent
075d2bfb72
commit
8e7d4d4e0c
@@ -195,6 +195,10 @@ print """
|
||||
#include "main/api_exec.h"
|
||||
|
||||
#if FEATURE_%s
|
||||
|
||||
#ifndef GLAPIENTRYP
|
||||
#define GLAPIENTRYP GL_APIENTRYP
|
||||
#endif
|
||||
""" % (versionHeader, versionExtHeader, shortname.upper())
|
||||
|
||||
# Everyone needs these types.
|
||||
|
||||
Reference in New Issue
Block a user