aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/jogl/MacOSXWindowSystemInterface.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/jogl/MacOSXWindowSystemInterface.m')
-rw-r--r--src/native/jogl/MacOSXWindowSystemInterface.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/native/jogl/MacOSXWindowSystemInterface.m b/src/native/jogl/MacOSXWindowSystemInterface.m
index 066cbe968..e9d90fcdc 100644
--- a/src/native/jogl/MacOSXWindowSystemInterface.m
+++ b/src/native/jogl/MacOSXWindowSystemInterface.m
@@ -490,7 +490,7 @@ void* createContext(void* shareContext, void* view,
return nsContext;
}
-Bool makeCurrentContext(void* context, void* view) {
+Bool makeCurrentContext(void* context) {
NSOpenGLContext *nsContext = (NSOpenGLContext*)context;
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
@@ -499,14 +499,14 @@ Bool makeCurrentContext(void* context, void* view) {
return true;
}
-Bool clearCurrentContext(void* context, void* view) {
+Bool clearCurrentContext(void* context) {
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
[NSOpenGLContext clearCurrentContext];
[pool release];
return true;
}
-Bool deleteContext(void* context, void* view) {
+Bool deleteContext(void* context) {
NSOpenGLContext *nsContext = (NSOpenGLContext*)context;
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
@@ -516,7 +516,7 @@ Bool deleteContext(void* context, void* view) {
return true;
}
-Bool flushBuffer(void* context, void* view) {
+Bool flushBuffer(void* context) {
NSOpenGLContext *nsContext = (NSOpenGLContext*)context;
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
@@ -525,7 +525,7 @@ Bool flushBuffer(void* context, void* view) {
return true;
}
-void updateContext(void* context, void* view) {
+void updateContext(void* context) {
NSOpenGLContext *nsContext = (NSOpenGLContext*)context;
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];