diff options
Diffstat (limited to 'make/cgl-macosx.cfg')
-rw-r--r-- | make/cgl-macosx.cfg | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index dab1ec206..1a963f135 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -17,6 +17,7 @@ CustomCCode #include </usr/include/machine/types.h> CustomCCode extern void* createContext(void* shareContext, void* nsView, CustomCCode int doubleBuffer, +CustomCCode int stereo, CustomCCode int redBits, CustomCCode int greenBits, CustomCCode int blueBits, @@ -28,7 +29,10 @@ CustomCCode int accumGreenBits, CustomCCode int accumBlueBits, CustomCCode int accumAlphaBits, CustomCCode int sampleBuffers, -CustomCCode int numSamples); +CustomCCode int numSamples, +CustomCCode int pbuffer, +CustomCCode int floatingPoint, +CustomCCode int* viewNotReady); CustomCCode extern Bool makeCurrentContext(void* nsContext, void* nsView); CustomCCode extern Bool clearCurrentContext(void* nsContext, void* nsView); CustomCCode extern Bool deleteContext(void* nsContext, void* nsView); @@ -38,7 +42,7 @@ CustomCCode extern void updateContext(void* nsContext, void* nsView); CustomCCode extern void* updateContextRegister(void* nsContext, void* nsView); CustomCCode extern void updateContextUnregister(void* nsContext, void* nsView, void* updater); -CustomCCode extern void* createPBuffer(int renderTarget, int width, int height); +CustomCCode extern void* createPBuffer(int renderTarget, int internalFormat, int width, int height); CustomCCode extern Bool destroyPBuffer(void* nsContext, void* pBuffer); CustomCCode extern void setContextPBuffer(void* nsContext, void* pBuffer); CustomCCode extern void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); |