mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
added Display.create/destroy. Fixes an error on mac, since OpenGL has to be initialized before creating ILUT
This commit is contained in:
parent
09a9f4953f
commit
00db5fcb85
1 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ public class BasicTest {
|
|||
|
||||
public static void main(String args[]) {
|
||||
try {
|
||||
org.lwjgl.opengl.Display.create();
|
||||
IL.create();
|
||||
ILU.create();
|
||||
ILUT.create();
|
||||
|
|
@ -118,6 +119,7 @@ public class BasicTest {
|
|||
ILUT.destroy();
|
||||
ILU.destroy();
|
||||
IL.destroy();
|
||||
org.lwjgl.opengl.Display.destroy();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue