I've been trying to draw a text to the display using Slick. However, when ever I draw the TrueTypeFont to the screen, it draws it reversed upside down and also, it makes the whole display turn black.
This is only a piece of the entire game code, I think this is enough to explain the problem though. I'm new to LWJGL and Slick so this is probably a stupid question.
public Game(String name, int width, int height) { this.name = name; this.width = width; this.height = height; try { Display.setDisplayMode(new DisplayMode(width, height)); Display.setTitle(name + " " + version); Display.setResizable(true); Display.create(); } catch (LWJGLException e) { e.printStackTrace(); Display.destroy(); return; } TrueTypeFont font; Font awtFont = new Font("Arial", Font.PLAIN, 24); font = new TrueTypeFont(awtFont, false); Player player = new Player(this, 32, 32); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); while(!Display.isCloseRequested()) { glClear(GL_COLOR_BUFFER_BIT); glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(0, width, 0, height, -1, 1); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); drawBackground(); player.update(); player.draw(); font.drawString(50, 50, "Platform"); Display.update(); Display.sync(60); } Display.destroy(); } 
Edit: After doing what @Katu said, I changed glOrtho(0, width, 0, height, -1, 1); to glOrtho(0, width, height, 0, -1, 1);. The text is not reversed upside down, but the black screen is still there.

The screen should look something like this. (NOTE: It's an edited image)