Method

GtkGLAreaset_use_es

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.

Sets propertyGtk.GLArea:use-es

Parameters

use_es gboolean
 

Whether to use OpenGL or OpenGL ES.