Gtk+3, GtkGLArea and OpenGL Profiles

I have read that the GtkGLArea context sets to the modern OpenGL Core Profile mode by default. I’m trying to build a Gtk application with the obsolete fixed function pipeline OpenGL features in Compatibility mode. Is there any way to set the OpenGL profile to compatibility mode with a GtkGLArea?

No, there is no way to force a legacy profile. Legacy profiles are only used if the underlying GL driver does not support core profiles.

I strongly recommend porting the legacy code to “modern” GL before porting it to GTK3 (or GTK4).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.