Undo debug stuff that accidentially went with the last commit.
This commit is contained in:
parent
d9e94b2d54
commit
dc4a31e799
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue