use of com.chrisali.javaflightsim.lwjgl.interfaces.text.GUIText in project j6dof-flight-sim by chris-ali.
the class FontRenderer method render.
public void render(Map<FontType, List<GUIText>> texts) {
prepare();
for (FontType font : texts.keySet()) {
GL13.glActiveTexture(GL13.GL_TEXTURE0);
GL11.glBindTexture(GL11.GL_TEXTURE_2D, font.getTextureAtlas());
for (GUIText text : texts.get(font)) renderText(text);
}
endRendering();
}