GLArea.setUseEs

Sets whether the area should create an OpenGL or an OpenGL ES context.

You should check the capabilities of the gdk.GLContext before drawing with either API.

class GLArea
void
setUseEs
(
bool useEs
)

Parameters

useEs bool

whether to use OpenGL or OpenGL ES

Meta

Since

3.22