>Is there any way to avoid this message from being prompt? > >** CRITICAL **: file gtkglarea.c: line 184 (gtk_gl_area_make_current): >assertion `GTK_WIDGET_REALIZED(gl_area)' failed. > > >I just want to call glViewport() in my InitGL() function. I know my >"gl_area" isn't still realized, but I don't care...
you don't, but gtkglarea.c does. just call gtk_widget_realize() on your glarea before calling InitGL(). --p _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list