X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_internal.h;h=1aaad5274abbeaa284b4f784478261644ff40e6c;hb=dd8896ee63aa0a066b0d591989b2ffb72fd08563;hp=38705156529e0eb0726e8282464e64db8f67899f;hpb=789db0244bba0fbaf22e553e4ca12f465b7f3ed6;p=freeglut diff --git a/src/Common/freeglut_internal.h b/src/Common/freeglut_internal.h index 3870515..1aaad52 100644 --- a/src/Common/freeglut_internal.h +++ b/src/Common/freeglut_internal.h @@ -1119,7 +1119,18 @@ int fgHintPresent(Window window, Atom property, Atom hint); #endif -SFG_Proc fghGetProcAddress( const char *procName ); +SFG_Proc fgPlatformGetProcAddress( const char *procName ); + +/* Window functions needed for Platform implementations */ +/* pushing attribute/value pairs into an array */ +#define ATTRIB(a) attributes[where++]=(a) +#define ATTRIB_VAL(a,v) {ATTRIB(a); ATTRIB(v);} + +extern int fghIsLegacyContextVersionRequested( void ); +extern int fghMapBit( int mask, int from, int to ); +extern int fghIsLegacyContextRequested( void ); +extern void fghContextCreationError( void ); +extern int fghNumberOfAuxBuffersRequested( void ); #endif /* FREEGLUT_INTERNAL_H */