pop_gles2_context


Description:

public void pop_gles2_context (Context ctx)

Restores the previously active GLES2Context if there were nested calls to 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 pop_gles2_context are not balenced with the number of corresponding calls to push_gles2_context.

Parameters:

ctx

A Context


Namespace: Cogl
Package: doc