GLArea.setUseEs

void setUseEs(bool useEs)

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

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

Parameters

useEswhether to use OpenGL or OpenGL ES

Deprecated

Use [gtk.glarea.GLArea.setAllowedApis]