Method

GtkGLAreaset_use_es

since: 3.22

Declaration [src]

void
gtk_gl_area_set_use_es (
  GtkGLArea* area,
  gboolean use_es
)

Description [src]

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

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

Available since: 3.22

Sets propertyGtk.GLArea:use-es

Parameters

use_es

Type: gboolean

Whether to use OpenGL or OpenGL ES.