mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
New Window class, and major changes to Display
This commit is contained in:
parent
d4b5248f0a
commit
24bfb0cf00
2 changed files with 4 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ package org.lwjgl.input;
|
|||
import java.nio.ByteBuffer;
|
||||
import java.nio.ByteOrder;
|
||||
|
||||
import org.lwjgl.Display;
|
||||
import org.lwjgl.*;
|
||||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
|
|
@ -249,7 +249,7 @@ public class Keyboard {
|
|||
public static void create() throws Exception {
|
||||
if (created)
|
||||
return;
|
||||
if (!Display.isCreated())
|
||||
if (!Window.isCreated())
|
||||
throw new Exception("The display has not yet been created.");
|
||||
if (!nCreate())
|
||||
throw new Exception("The keyboard could not be created.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue