Sorry, I don't know OpenGL well enough to propose you an alternative/workaround to emulate that behavior.