#include <GL/gl.h>
-#include "util/glheader.h"
#include "glapi.h"
#include "glapitable.h"
#include "glxclient.h"
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
-#include "util/glheader.h"
#include "glapitable.h"
extern struct _glapi_table * __ogl_framework_api;
#include "glxclient.h"
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
-#include "util/glheader.h"
#include "glapitable.h"
extern struct _glapi_table * __ogl_framework_api;
#include "glxclient.h"
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
-#include "util/glheader.h"
#include "glapitable.h"
extern struct _glapi_table * __ogl_framework_api;
#include <stdio.h>
#include <string.h>
-#include "util/glheader.h"
-
#include "glapi.h"
#include "glapitable.h"
f.return_type, f.name, arg_string, f.offset))
def printRealHeader(self):
- print('#ifndef GLAPIENTRYP')
- print('# ifndef GLAPIENTRY')
- print('# define GLAPIENTRY')
- print('# endif')
- print('')
- print('# define GLAPIENTRYP GLAPIENTRY *')
- print('#endif')
- print('')
+ print('#include "util/glheader.h"')
print('')
print('#ifdef __cplusplus')
print('extern "C" {')
#endif /* logging */
-
-#ifndef GLAPIENTRY
-#define GLAPIENTRY
-#endif
-
#ifdef GLX_INDIRECT_RENDERING
/* those link to libglapi.a should provide the entry points */
#define _GLAPI_SKIP_PROTO_ENTRY_POINTS
GL_API void GL_APIENTRY glPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
/* Enable frame pointer elimination on Windows, otherwise forgetting to add
- * APIENTRY to _mesa_* entrypoints will not cause crashes on debug builds, as
+ * GLAPIENTRY to _mesa_* entrypoints will not cause crashes on debug builds, as
* the initial ESP value is saved in the EBP in the function prologue, then
* restored on the epilogue, clobbering any corruption in the ESP pointer due
* to mismatch in the callee calling convention.
#ifndef _GLAPI_PRIV_H
#define _GLAPI_PRIV_H
-
-#define GL_GLEXT_PROTOTYPES
-#include "GL/gl.h"
-#include "GL/glext.h"
-
-typedef int GLclampx;
-
#include "glapi/glapi.h"
+#include "util/glheader.h"
#ifdef __cplusplus
*/
#include <gtest/gtest.h>
-#include "util/glheader.h"
#include "glapi/glapi.h"
#include "glapitable.h"
*/
#include <gtest/gtest.h>
-#include "util/glheader.h"
#include "glapi/glapi.h"
#include "glapitable.h"