Don't call Display.create in AWTGLCanvas constructor (fixes Minecraft 1.2.1-1.2.4)

This commit is contained in:
artdeell 2023-01-28 14:36:18 +03:00
parent 1f28b3a6a7
commit 4716e99df1

View File

@ -79,7 +79,8 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
}
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 {