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:
committed by
Guy Zadickario
parent
a20ba0e4de
commit
87363ca283
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user