diff options
Diffstat (limited to 'make/cgl-macosx.cfg')
-rw-r--r-- | make/cgl-macosx.cfg | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index 6592f98dd..a933b36d9 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -13,7 +13,19 @@ Opaque long void * # this was the easiest way of sharing the prototypes between these files CustomCCode typedef int Bool; -CustomCCode extern void* createContext(JNIEnv * env, jobject glCapabilities, void* shareContext, void* nsView); +CustomCCode extern void* createContext(void* shareContext, void* nsView, +CustomCCode int redBits, +CustomCCode int greenBits, +CustomCCode int blueBits, +CustomCCode int alphaBits, +CustomCCode int depthBits, +CustomCCode int stencilBits, +CustomCCode int accumRedBits, +CustomCCode int accumGreenBits, +CustomCCode int accumBlueBits, +CustomCCode int accumAlphaBits, +CustomCCode int sampleBuffers, +CustomCCode int numSamples); CustomCCode extern Bool makeCurrentContext(void* nsContext, void* nsView); CustomCCode extern Bool clearCurrentContext(void* nsContext, void* nsView); CustomCCode extern Bool deleteContext(void* nsContext, void* nsView); |