mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 08:43:49 +00:00
Extend GLEW API to support glewContextInit - GL without implied GLX, WGL, EGL initialisation
This commit is contained in:
parent
ea2076658a
commit
715afa0ff5
@ -73,7 +73,7 @@ GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
|
||||
typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGPROC) (GLenum name);
|
||||
typedef void (GLAPIENTRY * PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
|
||||
|
||||
static GLenum GLEWAPIENTRY glewContextInit ()
|
||||
GLenum GLEWAPIENTRY glewContextInit (void)
|
||||
{
|
||||
PFNGLGETSTRINGPROC getString;
|
||||
const GLubyte* s;
|
||||
|
@ -27,6 +27,7 @@ VERSION_MICRO GLEW_VERSION_MICRO_STRING
|
||||
|
||||
/* API */
|
||||
GLEWAPI GLenum GLEWAPIENTRY glewInit (void);
|
||||
GLEWAPI GLenum GLEWAPIENTRY glewContextInit (void);
|
||||
GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name);
|
||||
#define glewIsExtensionSupported(x) glewIsSupported(x)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user