Moved from lwjgl to libgdx