|
|
@ -740,8 +740,7 @@ JNIEXPORT void JNICALL Java_jaggl_context_setSwapInterval(JNIEnv *env, jclass cl |
|
|
|
#elif defined(__APPLE__) && defined(__MACH__) |
|
|
|
#elif defined(__APPLE__) && defined(__MACH__) |
|
|
|
GLint param = (GLint) interval; |
|
|
|
GLint param = (GLint) interval; |
|
|
|
CGLSetParameter(jaggl_context, kCGLCPSwapInterval, ¶m); |
|
|
|
CGLSetParameter(jaggl_context, kCGLCPSwapInterval, ¶m); |
|
|
|
|
|
|
|
CGLSetParameter(jaggl_onscreen_context, kCGLCPSwapInterval, ¶m); |
|
|
|
/* TODO(gpe): what about jaggl_onscreen_context? */ |
|
|
|
|
|
|
|
#else |
|
|
|
#else |
|
|
|
#error Unsupported platform |
|
|
|
#error Unsupported platform |
|
|
|
#endif |
|
|
|
#endif |
|
|
|