Commit 4d2f756f authored by Nigel Stewart's avatar Nigel Stewart
Browse files

More GLEWAPIENTRY fixups for Windows build

parent 439fc9dd
/* ------------------------------------------------------------------------- */
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment