opengl translator: Fix windows runtime problems

fixed functions calling conventions in dispatch tables,
added link flag to translator libraries to produce an alias
function for all exported functions with stdcall name mangling.

Change-Id: I4360f26da1f897764ba6d4dd02c365ed00420b51
This commit is contained in:
Amit Feller
2011-06-21 10:21:36 +03:00
committed by Guy Zadickario
parent a20ba0e4de
commit 87363ca283
8 changed files with 360 additions and 343 deletions

View File

@@ -17,6 +17,15 @@
#define __GL_BASE_TYPES__H
#include <KHR/khrplatform.h>
#ifndef gl_APIENTRY
#define gl_APIENTRY KHRONOS_APIENTRY
#endif
#ifndef gl2_APIENTRY
#define gl2_APIENTRY KHRONOS_APIENTRY
#endif
typedef void GLvoid;
typedef unsigned int GLenum;
typedef unsigned char GLboolean;