mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
Don't call Display.create in AWTGLCanvas constructor (fixes Minecraft 1.2.1-1.2.4)
This commit is contained in:
parent
1f28b3a6a7
commit
4716e99df1
@ -79,7 +79,8 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AWTGLCanvas() throws LWJGLException {
|
public AWTGLCanvas() throws LWJGLException {
|
||||||
Display.create();
|
System.out.println("AWTGLCanvas constructor called on thread:"+Thread.currentThread().getName());
|
||||||
|
//Display.create();
|
||||||
}
|
}
|
||||||
|
|
||||||
public AWTGLCanvas(PixelFormat pixel_format) throws LWJGLException {
|
public AWTGLCanvas(PixelFormat pixel_format) throws LWJGLException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user