|
|
@ -87,13 +87,13 @@ struct _GLFWhints |
|
|
|
int accumBlueBits; |
|
|
|
int accumBlueBits; |
|
|
|
int accumAlphaBits; |
|
|
|
int accumAlphaBits; |
|
|
|
int auxBuffers; |
|
|
|
int auxBuffers; |
|
|
|
int stereo; |
|
|
|
GLboolean stereo; |
|
|
|
int windowNoResize; |
|
|
|
GLboolean windowNoResize; |
|
|
|
int samples; |
|
|
|
int samples; |
|
|
|
int glMajor; |
|
|
|
int glMajor; |
|
|
|
int glMinor; |
|
|
|
int glMinor; |
|
|
|
int glForward; |
|
|
|
GLboolean glForward; |
|
|
|
int glDebug; |
|
|
|
GLboolean glDebug; |
|
|
|
int glProfile; |
|
|
|
int glProfile; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -109,11 +109,11 @@ struct _GLFWwndconfig |
|
|
|
int mode; |
|
|
|
int mode; |
|
|
|
const char* title; |
|
|
|
const char* title; |
|
|
|
int refreshRate; |
|
|
|
int refreshRate; |
|
|
|
int windowNoResize; |
|
|
|
GLboolean windowNoResize; |
|
|
|
int glMajor; |
|
|
|
int glMajor; |
|
|
|
int glMinor; |
|
|
|
int glMinor; |
|
|
|
int glForward; |
|
|
|
GLboolean glForward; |
|
|
|
int glDebug; |
|
|
|
GLboolean glDebug; |
|
|
|
int glProfile; |
|
|
|
int glProfile; |
|
|
|
_GLFWwindow* share; |
|
|
|
_GLFWwindow* share; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -139,7 +139,7 @@ struct _GLFWfbconfig |
|
|
|
int accumBlueBits; |
|
|
|
int accumBlueBits; |
|
|
|
int accumAlphaBits; |
|
|
|
int accumAlphaBits; |
|
|
|
int auxBuffers; |
|
|
|
int auxBuffers; |
|
|
|
int stereo; |
|
|
|
GLboolean stereo; |
|
|
|
int samples; |
|
|
|
int samples; |
|
|
|
GLFWintptr platformID; |
|
|
|
GLFWintptr platformID; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -190,7 +190,8 @@ struct _GLFWwindow |
|
|
|
// OpenGL extensions and context attributes
|
|
|
|
// OpenGL extensions and context attributes
|
|
|
|
GLboolean accelerated; // GL_TRUE if OpenGL context is "accelerated"
|
|
|
|
GLboolean accelerated; // GL_TRUE if OpenGL context is "accelerated"
|
|
|
|
int glMajor, glMinor, glRevision; |
|
|
|
int glMajor, glMinor, glRevision; |
|
|
|
int glForward, glDebug, glProfile; |
|
|
|
GLboolean glForward, glDebug; |
|
|
|
|
|
|
|
int glProfile; |
|
|
|
PFNGLGETSTRINGIPROC GetStringi; |
|
|
|
PFNGLGETSTRINGIPROC GetStringi; |
|
|
|
|
|
|
|
|
|
|
|
// These are defined in the current port's platform.h
|
|
|
|
// These are defined in the current port's platform.h
|
|
|
|