mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
More GLEWAPIENTRY fixups for Windows build
This commit is contained in:
parent
439fc9dd91
commit
4d2f756f74
@ -1,6 +1,6 @@
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
GLboolean glewGetExtension (const char* name)
|
||||
GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
|
||||
{
|
||||
const GLubyte* start;
|
||||
const GLubyte* end;
|
||||
@ -16,7 +16,7 @@ GLboolean glewGetExtension (const char* name)
|
||||
#ifndef GLEW_MX
|
||||
static
|
||||
#endif
|
||||
GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
||||
GLenum GLEWAPIENTRY glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
||||
{
|
||||
const GLubyte* s;
|
||||
GLuint dot;
|
||||
|
@ -3,7 +3,7 @@
|
||||
static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
|
||||
static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
|
||||
|
||||
GLboolean wglewGetExtension (const char* name)
|
||||
GLboolean GLEWAPIENTRY wglewGetExtension (const char* name)
|
||||
{
|
||||
const GLubyte* start;
|
||||
const GLubyte* end;
|
||||
@ -20,7 +20,7 @@ GLboolean wglewGetExtension (const char* name)
|
||||
return _glewSearchExtension(name, start, end);
|
||||
}
|
||||
|
||||
GLenum wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
|
||||
GLenum GLEWAPIENTRY wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
|
||||
{
|
||||
GLboolean crippled;
|
||||
const GLubyte* extStart;
|
||||
|
@ -7,9 +7,9 @@
|
||||
#if defined(_WIN32)
|
||||
|
||||
#if defined(GLEW_MX)
|
||||
GLboolean wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
|
||||
GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
|
||||
#else
|
||||
GLboolean wglewIsSupported (const char* name)
|
||||
GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
|
||||
#endif
|
||||
{
|
||||
GLubyte* pos = (GLubyte*)name;
|
||||
|
Loading…
Reference in New Issue
Block a user