}
/* CENTRY */
-void APIENTRY
+void GLUTAPIENTRY
glutEstablishOverlay(void)
{
GLUToverlay *overlay;
}
#if defined(GLX_VERSION_1_1) && defined(GLX_SGIX_fbconfig)
if (fbc) {
- window->ctx = glXCreateContextWithConfigSGIX(__glutDisplay, fbc,
+ window->ctx = __glut_glXCreateContextWithConfigSGIX(__glutDisplay, fbc,
GLX_RGBA_TYPE_SGIX, None, __glutTryDirect);
} else
#endif
}
}
-void APIENTRY
+void GLUTAPIENTRY
glutRemoveOverlay(void)
{
GLUTwindow *window = __glutCurrentWindow;
#endif
}
-void APIENTRY
+void GLUTAPIENTRY
glutUseLayer(GLenum layer)
{
GLUTwindow *window = __glutCurrentWindow;
__glutSetWindow(window);
}
-void APIENTRY
+void GLUTAPIENTRY
glutPostOverlayRedisplay(void)
{
__glutPostRedisplay(__glutCurrentWindow, GLUT_OVERLAY_REDISPLAY_WORK);
glutSetWindow call (entailing an expensive OpenGL context
switch), particularly useful when multiple windows need
redisplays posted at the same times. */
-void APIENTRY
+void GLUTAPIENTRY
glutPostWindowOverlayRedisplay(int win)
{
__glutPostRedisplay(__glutWindowList[win - 1], GLUT_OVERLAY_REDISPLAY_WORK);
}
-void APIENTRY
+void GLUTAPIENTRY
glutOverlayDisplayFunc(GLUTdisplayCB displayFunc)
{
if (!__glutCurrentWindow->overlay) {
__glutCurrentWindow->overlay->display = displayFunc;
}
-void APIENTRY
+void GLUTAPIENTRY
glutHideOverlay(void)
{
if (!__glutCurrentWindow->overlay) {
__glutCurrentWindow->overlay->shownState = 0;
}
-void APIENTRY
+void GLUTAPIENTRY
glutShowOverlay(void)
{
if (!__glutCurrentWindow->overlay) {
__glutCurrentWindow->overlay->shownState = 1;
}
-int APIENTRY
+int GLUTAPIENTRY
glutLayerGet(GLenum param)
{
switch (param) {