Method

Gdk.GLContext.get_version

Declaration [src]

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

Description [src]

Retrieves the OpenGL version of the context.

The context must be realized prior to calling this function.

Parameters

major int*
 

return location for the major version

 Direction: out
 Ownership of the data is transferred to the callee
minor int*
 

return location for the minor version

 Direction: out
 Ownership of the data is transferred to the callee