Method

GdkGLContextget_required_version

since: 3.16

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

Type: int*

Return location for the major version to request.

The argument will be set by the function.
The argument can be set to NULL by the method.
minor

Type: int*

Return location for the minor version to request.

The argument will be set by the function.
The argument can be set to NULL by the method.