mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 22:05:06 +00:00
Merge branch 'master' into subset
This commit is contained in:
commit
07bc36b14c
@ -24,4 +24,4 @@ GL_EXT_secondary_color
|
||||
void glSecondaryColor3uivEXT (const GLuint *v)
|
||||
void glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue)
|
||||
void glSecondaryColor3usvEXT (const GLushort *v)
|
||||
void glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
|
||||
void glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
|
@ -69,7 +69,7 @@ http://www.opengl.org/documentation/specs/version1.4/glspec14.pdf
|
||||
void glSecondaryColor3uiv (const GLuint *v)
|
||||
void glSecondaryColor3us (GLushort red, GLushort green, GLushort blue)
|
||||
void glSecondaryColor3usv (const GLushort *v)
|
||||
void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
|
||||
void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
void glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
|
||||
void glWindowPos2d (GLdouble x, GLdouble y)
|
||||
void glWindowPos2f (GLfloat x, GLfloat y)
|
||||
|
@ -94,9 +94,10 @@ typedef _W64 int ptrdiff_t;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* GLEW_STATIC needs to be set when using the static version.
|
||||
* GLEW_BUILD is set when building the DLL version.
|
||||
* GLEW_STATIC is defined for static library.
|
||||
* GLEW_BUILD is defined for building the DLL library.
|
||||
*/
|
||||
|
||||
#ifdef GLEW_STATIC
|
||||
# define GLEWAPI extern
|
||||
#else
|
||||
@ -130,7 +131,22 @@ typedef _W64 int ptrdiff_t;
|
||||
|
||||
#define GLEW_APIENTRY_DEFINED
|
||||
#define APIENTRY
|
||||
#define GLEWAPI extern
|
||||
|
||||
/*
|
||||
* GLEW_STATIC is defined for static library.
|
||||
*/
|
||||
|
||||
#ifdef GLEW_STATIC
|
||||
# define GLEWAPI extern
|
||||
#else
|
||||
# if defined(__GNUC__) && __GNUC__>=4
|
||||
# define GLEWAPI extern __attribute__ ((visibility("default")))
|
||||
# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||
# define GLEWAPI extern __global
|
||||
# else
|
||||
# define GLEWAPI extern
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* <glu.h> */
|
||||
#ifndef GLAPI
|
||||
|
Loading…
Reference in New Issue
Block a user