Undo debug stuff that accidentially went with the last commit.

This commit is contained in:
Elias Naur 2006-10-20 10:44:28 +00:00
parent d9e94b2d54
commit dc4a31e799
1 changed files with 3 additions and 3 deletions

View File

@ -51,12 +51,12 @@ final class LinuxAWTGLCanvasPeerInfo extends LinuxPeerInfo {
} }
protected void doLockAndInitHandle() throws LWJGLException { protected void doLockAndInitHandle() throws LWJGLException {
int screen = 0;//-1; int screen = -1;
/* try { try {
screen = LinuxCanvasImplementation.getScreenFromDevice(canvas.getGraphicsConfiguration().getDevice()); screen = LinuxCanvasImplementation.getScreenFromDevice(canvas.getGraphicsConfiguration().getDevice());
} catch (LWJGLException e) { } catch (LWJGLException e) {
LWJGLUtil.log("Got exception while trying to determine screen: " + e); LWJGLUtil.log("Got exception while trying to determine screen: " + e);
}*/ }
nInitHandle(screen, awt_surface.lockAndGetHandle(canvas), getHandle()); nInitHandle(screen, awt_surface.lockAndGetHandle(canvas), getHandle());
} }
private static native void nInitHandle(int screen, ByteBuffer surface_buffer, ByteBuffer peer_info_handle) throws LWJGLException; private static native void nInitHandle(int screen, ByteBuffer surface_buffer, ByteBuffer peer_info_handle) throws LWJGLException;