mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-21 18:35:14 -06:00
undo some testing changes
This commit is contained in:
parent
cb9758f7d5
commit
cf5ccbf1ac
3 changed files with 6 additions and 8 deletions
|
|
@ -323,7 +323,6 @@ public abstract class GameShell extends Applet implements Runnable, FocusListene
|
|||
@OriginalMember(owner = "client!rc", name = "b", descriptor = "(B)V")
|
||||
public final synchronized void addCanvas() {
|
||||
if (canvas != null) {
|
||||
// Remove the old canvas if it exists
|
||||
canvas.removeFocusListener(this);
|
||||
canvas.getParent().remove(canvas);
|
||||
}
|
||||
|
|
@ -514,10 +513,9 @@ public abstract class GameShell extends Applet implements Runnable, FocusListene
|
|||
canvasScale = getCurrentDevice().getDefaultConfiguration().getDefaultTransform().getScaleX();
|
||||
if (frame != null && fullScreenFrame == null) {
|
||||
@Pc(84) Insets insets = frame.getInsets();
|
||||
// TODO: Add a flag to ignore this.
|
||||
//canvas.setLocation(insets.left + leftMargin, topMargin + insets.top);
|
||||
canvas.setLocation(insets.left + leftMargin, topMargin + insets.top);
|
||||
} else {
|
||||
//canvas.setLocation(leftMargin, topMargin);
|
||||
canvas.setLocation(leftMargin, topMargin);
|
||||
}
|
||||
}
|
||||
this.mainRedraw();
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ public final class GlRenderer {
|
|||
private static int maxTextureCoords;
|
||||
|
||||
@OriginalMember(owner = "client!tf", name = "E", descriptor = "Lgl!javax/media/opengl/GLDrawable;")
|
||||
public static GLDrawable drawable;
|
||||
private static GLDrawable drawable;
|
||||
|
||||
@OriginalMember(owner = "client!tf", name = "H", descriptor = "Z")
|
||||
public static boolean arbVertexProgramSupported;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue