mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-01 14:19:12 -06: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue