From ec1ab4278b2408d3b19083e530e0376f809cca44 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 22 Apr 2019 14:29:20 -0400 Subject: [PATCH] Fix drawSelf --- GenericJoint.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GenericJoint.java b/GenericJoint.java index 231796a..b6d18be 100644 --- a/GenericJoint.java +++ b/GenericJoint.java @@ -339,7 +339,7 @@ // assert(bRep != null); - if (display.isLIVE() && live && display.drawMode == display.SHADOW) // FUCK + if (Globals.isLIVE() && live && display.DrawMode() == display.SHADOW) // FUCK { // float ms = getDeltaTimeMicroseconds(); // float minFPS = 1000000f / 60f; @@ -379,7 +379,7 @@ try { //font = FontRender.createFont("Dialog", 11, false, true); - font = new FontRender.GLFont(gl, GraphreeD.class.getResourceAsStream("DejaVu_Sans_11.fnt")); + font = new FontRender.GLFont(gl, GrafreeD.class.getResourceAsStream("DejaVu_Sans_11.fnt")); } catch (java.io.IOException e) { e.printStackTrace(); -- Gitblit v1.6.2