aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/stub_includes/opengl/macosx-window-system.h2
-rw-r--r--src/native/jogl/MacOSXWindowSystemInterface.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/make/stub_includes/opengl/macosx-window-system.h b/make/stub_includes/opengl/macosx-window-system.h
index ca2a9856a..f43adb546 100644
--- a/make/stub_includes/opengl/macosx-window-system.h
+++ b/make/stub_includes/opengl/macosx-window-system.h
@@ -21,7 +21,7 @@ Bool makeCurrentContext(void* nsContext);
Bool clearCurrentContext(void* nsContext);
Bool deleteContext(void* nsContext);
Bool flushBuffer(void* nsContext);
-void setCurrentContextOpacity(void* context, int opacity);
+void setContextOpacity(void* context, int opacity);
void updateContext(void* nsContext);
void copyContext(void* destContext, void* srcContext, int mask);
diff --git a/src/native/jogl/MacOSXWindowSystemInterface.m b/src/native/jogl/MacOSXWindowSystemInterface.m
index 5c02650b0..350f6152f 100644
--- a/src/native/jogl/MacOSXWindowSystemInterface.m
+++ b/src/native/jogl/MacOSXWindowSystemInterface.m
@@ -559,7 +559,7 @@ Bool flushBuffer(void* context) {
return true;
}
-void setCurrentContextOpacity(void* context, int opacity) {
+void setContextOpacity(void* context, int opacity) {
NSOpenGLContext *nsContext = (NSOpenGLContext*)context;
[nsContext setValues:&opacity forParameter:NSOpenGLCPSurfaceOpacity];