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...

Does anybody know if I can call glViewport() without caring of the

if (gtk_gl_area_make_current (glarea)) result??

I'm only using one GtkGLArea in my program.

Thanks

Ignacio Nodal


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to