don't wanna see this CRITICAL



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]