From bdc6894746d93f38c6ad67ee0eddbd927a5c4818 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 5 Aug 2005 06:56:12 +0000 Subject: 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 --- src/net/java/games/jogl/impl/windows/WindowsGLContext.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/java/games/jogl/impl/windows') 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()); } -- cgit v1.2.3