aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes')
-rwxr-xr-xsrc/classes/com/sun/opengl/impl/x11/X11ExternalGLContext.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/X11ExternalGLContext.java b/src/classes/com/sun/opengl/impl/x11/X11ExternalGLContext.java
index e0446f4d6..80d9c6f1a 100755
--- a/src/classes/com/sun/opengl/impl/x11/X11ExternalGLContext.java
+++ b/src/classes/com/sun/opengl/impl/x11/X11ExternalGLContext.java
@@ -66,6 +66,7 @@ public class X11ExternalGLContext extends X11GLContext {
}
protected int makeCurrentImpl() throws GLException {
+ mostRecentDisplay = drawable.getDisplay();
if (firstMakeCurrent) {
firstMakeCurrent = false;
return CONTEXT_CURRENT_NEW;