Method

GdkGLContextget_required_version

Declaration [src]

void
gdk_gl_context_get_required_version (
  GdkGLContext* context,
  int* major,
  int* minor
)

Description [src]

Retrieves the major and minor version requested by calling gdk_gl_context_set_required_version().

Available since:3.16

Parameters

major int*
 

Return location for the major version to request.

 The argument will be set by the function.
 The argument can be set to NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
minor int*
 

Return location for the minor version to request.

 The argument will be set by the function.
 The argument can be set to NULL.
 The instance takes ownership of the data, and is responsible for freeing it.