summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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());
}