summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-08-05 06:56:12 +0000
committerKenneth Russel <[email protected]>2005-08-05 06:56:12 +0000
commitbdc6894746d93f38c6ad67ee0eddbd927a5c4818 (patch)
tree88cc329cd6bb00900558f1f4cfca571eec3562e4
parentba481ec2c18469c4aaa32dda31a1e789a9043e7c (diff)
More debugging info
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@341 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r--src/net/java/games/jogl/impl/windows/WindowsGLContext.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/games/jogl/impl/windows/WindowsGLContext.java b/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
index ada57b500..c1bde5193 100644
--- a/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
+++ b/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
@@ -123,8 +123,8 @@ public class WindowsGLContext extends GLContextImpl {
throw new GLException("GLContextShareSet returned an invalid OpenGL context");
}
if (!WGL.wglShareLists(hglrc2, hglrc)) {
- throw new GLException("wglShareLists(0x" + Long.toHexString(hglrc2) +
- ", 0x" + Long.toHexString(hglrc) + ") failed: error code " +
+ throw new GLException("wglShareLists(" + toHexString(hglrc2) +
+ ", " + toHexString(hglrc) + ") failed: error code " +
WGL.GetLastError());
}
}
@@ -200,7 +200,7 @@ public class WindowsGLContext extends GLContextImpl {
protected void resetGLFunctionAvailability() {
super.resetGLFunctionAvailability();
if (DEBUG) {
- System.err.println(getThreadName() + ": !!! Initializing WGL extension address table");
+ System.err.println(getThreadName() + ": !!! Initializing WGL extension address table for " + this);
}
resetProcAddressTable(getWGLExtProcAddressTable());
}