mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
assertion on Window.isCreated
This commit is contained in:
parent
2124b34f59
commit
3cdd9516f3
3 changed files with 9 additions and 0 deletions
|
|
@ -234,6 +234,9 @@ public class Mouse {
|
|||
* @throws Exception if the mouse could not be created for any reason
|
||||
*/
|
||||
public static void create() throws Exception {
|
||||
|
||||
assert Window.isCreated() : "Window must be created prior to creating mouse";
|
||||
|
||||
if (!initialized) {
|
||||
initialize();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue