aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-02-23 04:43:21 +0000
committerKenneth Russel <[email protected]>2006-02-23 04:43:21 +0000
commit76e7d4bd24490eb73914fa7461baf86da17f584d (patch)
tree8d9919de5c6e98f559fe0aba10195d1748921274 /src/classes/com/sun/opengl/impl
parentb9fdf582ae01dc907431d12533eaca5f134281f5 (diff)
Attempted fix for Issue 206: glTexImage2D fails on external context
Apparently failed to set mostRecentDisplay for X11ExternalGLContexts. Hard to believe this could have been broken for this long, though. No test case, therefore "attempted fix". git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@633 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl')
-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;