Call this function before using any other GtkGLExt functions in your
applications. It will initialize everything needed to operate the library
and parses some standard command line options. @argc and
@argv are adjusted accordingly so your own code will
never see those standard arguments.
<note><para>
This function will terminate your program if it was unable to initialize
the library for some reason. If you want your program to fall back to a
textual interface you want to call gtk_gl_init_check() instead.
</para></note>
Address of the <parameter>argv</parameter> parameter of <function>main()</function>. Any parameters understood by gtk_gl_init() are stripped before return.
Call this function before using any other GtkGLExt functions in your applications. It will initialize everything needed to operate the library and parses some standard command line options. @argc and @argv are adjusted accordingly so your own code will never see those standard arguments.
<note><para> This function will terminate your program if it was unable to initialize the library for some reason. If you want your program to fall back to a textual interface you want to call gtk_gl_init_check() instead. </para></note>