Changed from GL11 to the new GlStateManager