@Override
    public void stopProfiling() {
        gl.glEndQuery(GL.GL_TIME_ELAPSED);
    }
Convert a mesh mode to the corresponding GL value.

@param mode input enum value (not null)
@return the corresponding GL value
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java