i would do it without gl commands if i knew how, anyway the only gl commands i have are these:
public void onSurfaceCreated(GL10 gl, EGLConfig config) {
gl.glEnable(GL10.GL_DITHER);
gl.glEnable(GL10.GL_BLEND);
gl.glBlendFunc(GL10.GL_ONE, GL10.GL_ONE_MINUS_SRC_ALPHA);
Config.glIgnoreNearPlane = false;
gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_FASTEST);
gl.glClearColor(m_backColor.getRed(), m_backColor.getGreen(), m_backColor.getBlue(), m_backColor.getAlpha());
gl.glColorMask(true, true, true, true);
gl.glDisable(GL10.GL_CULL_FACE);
gl.glDisable(GL10.GL_DEPTH_TEST);
gl.glDepthMask(true);
}
i use jpct to load, place and move objects around, set up the world, lights and camera + all the rendering, the only gl direct stuff is over there.