Reflecting changes in GameCore and MightyUtils

master
Ondřej Hruška 11 years ago
parent d2fe36f745
commit 2377b653cf
  1. 7
      src/mightypork/gamecore/backends/lwjgl/InitTaskRedirectSlickLog.java
  2. 5
      src/mightypork/gamecore/backends/lwjgl/LwjglBackend.java

@ -35,4 +35,11 @@ public class InitTaskRedirectSlickLog extends InitTask {
{ {
return new String[] { "log" }; return new String[] { "log" };
} }
@Override
public int getPriority()
{
return PRIO_FIRST;
}
} }

@ -31,7 +31,12 @@ public class LwjglBackend extends AppBackend {
graphics.init(); graphics.init();
audio.init(); audio.init();
input.init(); input.init();
}
@Override
public void addInitTasks()
{
app.addInitTask(new InitTaskRedirectSlickLog()); app.addInitTask(new InitTaskRedirectSlickLog());
} }

Loading…
Cancel
Save