mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
AWTGLCanvas: Ignore failure to lock drawing surface, since that can happen when the component is being destroyed
This commit is contained in:
parent
9d0d20f7ac
commit
c0248a7ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
|||
peer_info.unlock();
|
||||
}
|
||||
} catch (LWJGLException e) {
|
||||
throw new RuntimeException(e);
|
||||
LWJGLUtil.log("Failed to lock surface, skipping paint(): " + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue