mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Remove redundant resizing of AWT canvases in AWT tests
This commit is contained in:
parent
12d445c7ec
commit
5d5dde0aed
2 changed files with 0 additions and 3 deletions
|
|
@ -137,7 +137,6 @@ public class AWTGears extends Frame {
|
|||
}
|
||||
}
|
||||
});
|
||||
canvas0.setBounds(0, 0, 300, 300);
|
||||
addWindowListener(new WindowAdapter() {
|
||||
public void windowClosing(WindowEvent e) {
|
||||
dispose();
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ public class AWTTest extends Frame {
|
|||
}
|
||||
}
|
||||
});
|
||||
canvas0.setBounds(0, 0, 320, 320);
|
||||
add(canvas1 = new AWTGLCanvas() {
|
||||
int current_height;
|
||||
int current_width;
|
||||
|
|
@ -124,7 +123,6 @@ public class AWTTest extends Frame {
|
|||
}
|
||||
}
|
||||
});
|
||||
canvas1.setBounds(320, 0, 320, 320);
|
||||
addWindowListener(new WindowAdapter() {
|
||||
public void windowClosing(WindowEvent e) {
|
||||
dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue