added sun patch

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@451 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2006-11-21 04:42:08 +00:00
parent 2a4e1b5ad5
commit 621b774921

View File

@ -50,7 +50,11 @@ extern "C" {
typedef XID GLXDrawable;
typedef XID GLXPixmap;
#ifdef __sun
typedef struct __glXcontextRec *GLXContext;
#else
typedef struct __GLXcontextRec *GLXContext;
#endif
extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase);
extern Bool glXQueryVersion (Display *dpy, int *major, int *minor);