mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
Made AWTGLCanvas listen to its own component events
This commit is contained in:
parent
481ffb5f16
commit
821778c655
1 changed files with 1 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
|||
if (pixel_format == null)
|
||||
throw new NullPointerException("Pixel format must be non-null");
|
||||
addHierarchyListener(this);
|
||||
addComponentListener(this);
|
||||
this.drawable = drawable;
|
||||
this.pixel_format = pixel_format;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue