I have 2 methods that are rendering. One is rendering a HUD while the other is rendering vertexes.
Problem is that when HUD is rendering the vertexes render as overlay, making the hand RED, etc instead of making an actual square in the screen.
public static void draw(String s, int i, int ii, int iii) {
GL11.glPushMatrix();
Minecraft.getMinecraft().entityRenderer.setupOverlayRendering();
Minecraft.getMinecraft().fontRendererObj.drawString(s, ii, i, iii);
GL11.glPopMatrix();
}
^That's the HUD renderer.
GL11.glVertex3d
^This is the method I'm using to render a square in game.(Not showing full code of this, though it works without HUD.)