Skip to content

Commit

Permalink
Extend GLEW API to support glewContextInit - GL without implied GLX, …
Browse files Browse the repository at this point in the history
…WGL, EGL initialisation
  • Loading branch information
nigels-com committed Aug 28, 2021
1 parent ea20766 commit 715afa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion auto/src/glew_init_gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions auto/src/glew_tail.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 715afa0

Please sign in to comment.