#ifndef _GLCtrl_GLCtrl_h #define _GLCtrl_GLCtrl_h #include <CtrlLib/CtrlLib.h> #include <GL/gl.h> #include <GL/glu.h> NAMESPACE_UPP #ifdef PLATFORM_X11 #define GLX_SUN_get_transparent_index <----- HERE #include <GL/glx.h> #endif
#ifndef GLX_SUN_get_transparent_index #define GLX_SUN_get_transparent_index 1 #ifdef GLX_GLXEXT_PROTOTYPES extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *); #endif /* GLX_GLXEXT_PROTOTYPES */ typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); #endif
Report message to a moderator