diff options
author | Kenneth Russel <[email protected]> | 2005-08-05 06:56:12 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-08-05 06:56:12 +0000 |
commit | bdc6894746d93f38c6ad67ee0eddbd927a5c4818 (patch) | |
tree | 88cc329cd6bb00900558f1f4cfca571eec3562e4 | |
parent | ba481ec2c18469c4aaa32dda31a1e789a9043e7c (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.java | 6 |
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()); } |