Cogl.pop_gles2_context
function pop_gles2_context(ctx: Cogl.Context): void {
// Gjs wrapper for cogl_pop_gles2_context()
}
Restores the previously active Cogl.GLES2Context if there were nested calls to Cogl.push_gles2_context or otherwise restores the ability to render with the Cogl api instead of OpenGLES 2.0.
The behaviour is undefined if calls to Cogl.pop_gles2_context are not balenced with the number of corresponding calls to Cogl.push_gles2_context.
Since 2.0
- ctx