GLContext.getRequiredVersion

void getRequiredVersion(out int major, out int minor)

Retrieves the major and minor version requested by calling [gdk.glcontext.GLContext.setRequiredVersion].

Parameters

majorreturn location for the major version to request
minorreturn location for the minor version to request