mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +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* start;
|
||||||
const GLubyte* end;
|
const GLubyte* end;
|
||||||
@ -16,7 +16,7 @@ GLboolean glewGetExtension (const char* name)
|
|||||||
#ifndef GLEW_MX
|
#ifndef GLEW_MX
|
||||||
static
|
static
|
||||||
#endif
|
#endif
|
||||||
GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
GLenum GLEWAPIENTRY glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
||||||
{
|
{
|
||||||
const GLubyte* s;
|
const GLubyte* s;
|
||||||
GLuint dot;
|
GLuint dot;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
|
static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
|
||||||
static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
|
static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
|
||||||
|
|
||||||
GLboolean wglewGetExtension (const char* name)
|
GLboolean GLEWAPIENTRY wglewGetExtension (const char* name)
|
||||||
{
|
{
|
||||||
const GLubyte* start;
|
const GLubyte* start;
|
||||||
const GLubyte* end;
|
const GLubyte* end;
|
||||||
@ -20,7 +20,7 @@ GLboolean wglewGetExtension (const char* name)
|
|||||||
return _glewSearchExtension(name, start, end);
|
return _glewSearchExtension(name, start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLenum wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
|
GLenum GLEWAPIENTRY wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
|
||||||
{
|
{
|
||||||
GLboolean crippled;
|
GLboolean crippled;
|
||||||
const GLubyte* extStart;
|
const GLubyte* extStart;
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
||||||
#if defined(GLEW_MX)
|
#if defined(GLEW_MX)
|
||||||
GLboolean wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
|
GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext* ctx, const char* name)
|
||||||
#else
|
#else
|
||||||
GLboolean wglewIsSupported (const char* name)
|
GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
GLubyte* pos = (GLubyte*)name;
|
GLubyte* pos = (GLubyte*)name;
|
||||||
|
Loading…
Reference in New Issue
Block a user