X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_internal.h;h=1aaad5274abbeaa284b4f784478261644ff40e6c;hb=dd8896ee63aa0a066b0d591989b2ffb72fd08563;hp=675fe84c5dc4d0b64b14cbfef5c92f3411b4a330;hpb=e49173bffc544452b67f96a15af8ae1b89a89400;p=freeglut diff --git a/src/Common/freeglut_internal.h b/src/Common/freeglut_internal.h index 675fe84..1aaad52 100644 --- a/src/Common/freeglut_internal.h +++ b/src/Common/freeglut_internal.h @@ -1121,6 +1121,17 @@ int fgHintPresent(Window window, Atom property, Atom hint); 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 */ /*** END OF FILE ***/