aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-04 15:07:41 -0700
committerSven Gothel <[email protected]>2009-10-04 15:07:41 -0700
commita8db29bae61bbaf4726ebf254cc510abbdb311f8 (patch)
treeb3bfb236cf908ba2541d5fc6993249f428e9727d
parentdae3705d5b8bee0a2ae0a809632f2c6d607f6c30 (diff)
EGLContext: Just debug lines ..
-rwxr-xr-xsrc/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java
index a8c2521a3..756f6afd4 100755
--- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java
+++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java
@@ -206,9 +206,11 @@ public abstract class EGLContext extends GLContextImpl {
GLContextShareSet.contextCreated(this);
if (DEBUG) {
System.err.println(getThreadName() + ": !!! Created OpenGL context 0x" +
- Long.toHexString(eglContext) + " for " + this +
- ", surface 0x" + Long.toHexString(((EGLDrawable)drawable).getSurface()) +
- ", sharing with 0x" + Long.toHexString(shareWith));
+ Long.toHexString(eglContext) +
+ ",\n\twrite surface 0x" + Long.toHexString(((EGLDrawable)drawable).getSurface()) +
+ ",\n\tread surface 0x" + Long.toHexString(((EGLDrawable)drawableRead).getSurface())+
+ ",\n\t"+this+
+ ",\n\tsharing with 0x" + Long.toHexString(shareWith));
}
if (!EGL.eglMakeCurrent(((EGLDrawable)drawable).getDisplay(),
((EGLDrawable)drawable).getSurface(),